![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Stream Control Transmission Protocol
#include <sys/socket.h>
#include <netinet/in.h>
int socket( PF_INET,
SOCK_DGRAM,
IPPROTO_SCTP);
Or,
int socket( PF_INET,
SOCK_STREAM,
IPPROTO_SCTP);
The SCTP protocol provides a reliable, end-to-end message transport service. It has the following features:
A descriptor referencing the socket, or -1 if an error occurs (errno is set).
sctp_bindx(), sctp_connectx(), sctp_freeladdrs(), sctp_freepaddrs(), sctp_getladdrs(), sctp_getpaddrs(), sctp_peeloff(), sctp_recvmsg(), sctp_sendmsg()
RFC 2960, RFC 3257
Drafts:
![]() |
![]() |
![]() |
![]() |