Date: Sun, 23 Jan 2011 16:36:36 +0100 From: Michael Tuexen <tuexen@fh-muenster.de> To: Schoch Christian <e0326715@student.tuwien.ac.at> Cc: freebsd-net@freebsd.org Subject: Re: connect with SOCK_SEQPACKET Message-ID: <900DC43F-8CD2-4EFB-B63D-63B541EF5119@fh-muenster.de> In-Reply-To: <20110123161855.91975nun1ymhwgyn@webmail.tuwien.ac.at> References: <20110123161855.91975nun1ymhwgyn@webmail.tuwien.ac.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 23, 2011, at 4:18 PM, Schoch Christian wrote: > Hi, >=20 > 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. >=20 > The problem is that this result is responsible for client or server = mode of the tools. >=20 > 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 >=20 > Regards, > Christian >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?900DC43F-8CD2-4EFB-B63D-63B541EF5119>