From owner-freebsd-net@FreeBSD.ORG Sun Jan 23 15:36:40 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9ACDC1065670 for ; Sun, 23 Jan 2011 15:36:40 +0000 (UTC) (envelope-from tuexen@fh-muenster.de) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by mx1.freebsd.org (Postfix) with ESMTP id 06E558FC08 for ; Sun, 23 Jan 2011 15:36:39 +0000 (UTC) Received: from [192.168.1.113] (p508F9A39.dip.t-dialin.net [80.143.154.57]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id B22061C0C0BCA; Sun, 23 Jan 2011 16:36:37 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Michael Tuexen In-Reply-To: <20110123161855.91975nun1ymhwgyn@webmail.tuwien.ac.at> Date: Sun, 23 Jan 2011 16:36:36 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <900DC43F-8CD2-4EFB-B63D-63B541EF5119@fh-muenster.de> References: <20110123161855.91975nun1ymhwgyn@webmail.tuwien.ac.at> To: Schoch Christian X-Mailer: Apple Mail (2.1082) Cc: freebsd-net@freebsd.org Subject: Re: connect with SOCK_SEQPACKET X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2011 15:36:40 -0000 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