Re: Code Review 7004439: SCTP_SET_PEER_PRIMARY_ADDR throws SocketException on Linux

2010-12-08 Thread Michael McMahon
Chris Hegarty wrote: Hi Michael, The native sockaddr is not being correctly set in sctp_setpeerprim. Also, the value of SCTP_SET_PEER_PRIMARY_ADDR should not be an IPv4-mapped address for IPv4 addresses on lksctp. It should be an IPv4 address, in a similar way to how we handle addresses being

Code Review 7004439: SCTP_SET_PEER_PRIMARY_ADDR throws SocketException on Linux

2010-12-08 Thread Chris Hegarty
Hi Michael, The native sockaddr is not being correctly set in sctp_setpeerprim. Also, the value of SCTP_SET_PEER_PRIMARY_ADDR should not be an IPv4-mapped address for IPv4 addresses on lksctp. It should be an IPv4 address, in a similar way to how we handle addresses being passed to bindx. We