This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Connect a host to a multihomed endpoint
#include <netinet/sctp.h> int sctp_connectx( int s, struct sockaddr *addrs, int addrcnt);
libsctp
Use the -l sctp option to qcc to link against this library.
The sctp_connectx() function connects a host to a multihomed endpoint by specifying a list of peer addresses.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
SCTP, sctp_bindx(), sctp_freeladdrs(), sctp_freepaddrs(), sctp_getladdrs(), sctp_getpaddrs(), sctp_peeloff(), sctp_recvmsg(), sctp_sendmsg()