connect with SOCK_SEQPACKET

Michael Tuexen tuexen at fh-muenster.de
Sun Jan 23 15:36:40 UTC 2011


On Jan 23, 2011, at 4:18 PM, Schoch Christian wrote:

> Hi,
> 
> While porting a SCTP test tool, I figured out, that connect with SOCK_SEQPACKET (SCTP 1-to-many style socket) is always returning 0, regardless if the connection could be established or not.
> 
> The problem is that this result is responsible for client or server mode of the tools.
> 
> If this is not a bug, how can I manage this issue ?
Hi Christian,

you need to subscribe to notifications. You will either get a
SCTP_COMM_UP notification or a SCTP_CANT_STR_ASSOC notification.

Best regards
Michael
> 
> Regards,
> Christian
> 
> 



More information about the freebsd-net mailing list