|
NAMEsctp_connectx —
connect an SCTP socket with multiple destination addresses
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/sctp.h>
int
DESCRIPTIONThesctp_connectx () call attempts to initiate an
association to a peer SCTP endpoint. The call operates similarly to
connect () but it also provides the ability to specify
multiple destination addresses for the peer. This allows a fault tolerant
method of initiating an association. When one of the peers addresses is
unreachable, the subsequent listed addresses will also be used to set up the
association with the peer.
The user also needs to consider that any address listed in an
If the peer SCTP stack does not list one or more of the provided
addresses in its response message then the extra addresses sent in the
RETURN VALUESThe call returns 0 on success and -1 upon failure.ERRORSThesctp_connectx () function can return the following
errors:
SEE ALSOconnect(2), sctp(4)
Visit the GSP FreeBSD Man Page Interface. |