UNIX Network Programming Volume 1, Third Edition [Electronic resources] : The Sockets Networking API نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

UNIX Network Programming Volume 1, Third Edition [Electronic resources] : The Sockets Networking API - نسخه متنی

Addison Wesley

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید










9.4 sctp_connectx Function


#include <netinet/sctp.h>

int sctp_connectx(int

sockfd , const struct sockaddr *

addrs , int

addrcnt );

Returns: 0 for success, 1 on error

The sctp_connectx function is used to connect to a multihomed peer. We specify

addrcnt addresses, all belonging to the same peer, in the

addrs parameter. The

addrs parameter is a packed list of addresses, as in Figure 9.4. The SCTP stack uses one or more of the given addresses for establishing the association. All the addresses listed in

addrs are considered to be valid, confirmed addresses.


Figure 9.4. Packed address list format for SCTP calls.



/ 450