Other Alias
sctp_generic_sendmsgLIBRARY
Lb libcSYNOPSIS
In sys/types.h In sys/socket.h In netinet/sctp.h Ft int Fn sctp_generic_sendmsg int s void *msg int msglen struct sockaddr *to socklen_t len struct sctp_sndrcvinfo *sinfo int flags Ft int Fn sctp_generic_sendmsg_iov int s struct iovec *iov int iovlen struct sockaddr *to struct sctp_sndrcvinfo *sinfo int flagsDESCRIPTION
Fn sctp_generic_sendmsg and Fn sctp_generic_sendmsg_iov are the true system calls used by the sctp_sendmsg3 and sctp_send3 function calls. These are more efficient since they are true system calls but they are specific to Fx and can be expected not to be present on any other operating system. For detailed usage please see either the sctp_send3 or sctp_sendmsg3 function calls.RETURN VALUES
The call returns the number of bytes written on success and -1 upon failure.ERRORS
- Bq Er EBADF
- The argument Fa s is not a valid descriptor.
- Bq Er ENOTSOCK
- The argument Fa s is not a socket.