Results 1 to 1 of 1
Thread: SCTP questions
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2006
1. For a simple 1 to 1 relationship between socket and association I can use the standard socket API and create the socket like this:
int sock = socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP);
That means I have only one path in my association. Right?
2. If I would like to use multiple streams do I need to install the lksctp package? I haven't found the structure 'sctp_sndrcvinfo' in any standard include file (structure passed to recvmsg() and sendmsg()).
3. If I would like to use multi-homing (multiple IP addresses) do I need to install the lksctp package? Then I would have the function 'sctp_bindx()' instead of 'bind()'?