Results 1 to 1 of 1
I am running RedHat Linux ES 4, kernel 2.6.9 and I would like to use SCTP. I have some questions: 1. For a simple 1 to 1 relationship between socket ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-09-2008 #1
- 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()'?