Originally Posted by pinniped
it's the sort of thing that's a high enough level that I wouldn't expect a standard system library to have it.
On the contrary, this is exactly what SCTP does!
The OP asked for help in using SCTP, in which case I would ask him/her where he/she is stuck. The SOCK_SEQPACKET
is a standard extension to the Berkley Sockets API. Whereas one uses send()
, the canonical functions for SOCK_SEQPACKET
For the *msg() functions, you will need to populate a special structure of type “struct msghdr
”. This is all explained in the manpages (or at least in any primer on SCTP sockets).
is the definitive “standard” on the SCTP socket API.