From owner-freebsd-net@FreeBSD.ORG Mon Dec 5 13:59:59 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 24621106564A for ; Mon, 5 Dec 2011 13:59:59 +0000 (UTC) (envelope-from yilinjing2006@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id EE2DB8FC13 for ; Mon, 5 Dec 2011 13:59:58 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RXZ5K-0007yz-1p for freebsd-net@freebsd.org; Mon, 05 Dec 2011 05:59:58 -0800 Date: Mon, 5 Dec 2011 05:59:58 -0800 (PST) From: jyl_2006 To: freebsd-net@freebsd.org Message-ID: <1323093598044-5048925.post@n5.nabble.com> In-Reply-To: References: <1322966561294-5045598.post@n5.nabble.com> <1323000072198-5046113.post@n5.nabble.com> <1323001847851-5046165.post@n5.nabble.com> <3E25BC69-1FC8-487E-BBAD-8BAF2552623B@lurchi.franken.de> <1323004488998-5046216.post@n5.nabble.com> <1323054646502-5047743.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: the return value of sctp_connectx do not match any error 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: Mon, 05 Dec 2011 13:59:59 -0000 I download freebsd-rc2(Character-based) and use the new Operating system to run the code you provide(sctp_client.c and give name of ComputerA to the computer it uses).In another computer(named ComputerB) I run freebsd-beta2(Graphical interface), I use the code(sctp_server.c) and I use wireshark to see what happen. I do not run sctp_server(means no server to wait for accept) in ComputerA , the program of sctp_client in ComputerB use sctp_connectx to init the association, the return value of sctp_connectx is 0 , that means the association is set up, but I do not run any server in computerA and the wireshark also see the init of association is unsuccessful. I am really confused about this problem. Thanks. -- View this message in context: http://freebsd.1045724.n5.nabble.com/the-return-value-of-sctp-connectx-do-not-match-any-error-tp5041952p5048925.html Sent from the freebsd-net mailing list archive at Nabble.com.