From owner-freebsd-net@FreeBSD.ORG Sat Dec 3 13:34:44 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 C2642106564A for ; Sat, 3 Dec 2011 13:34:44 +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 9B8CD8FC0A for ; Sat, 3 Dec 2011 13:34:44 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RWpjn-0004UY-Ff for freebsd-net@freebsd.org; Sat, 03 Dec 2011 05:34:43 -0800 Date: Sat, 3 Dec 2011 05:34:43 -0800 (PST) From: jyl_2006 To: freebsd-net@freebsd.org Message-ID: <1322919283456-5044536.post@n5.nabble.com> In-Reply-To: References: <1322834879026-5041952.post@n5.nabble.com> <0D6FA7F2-1462-44EF-98F4-3B6AFC856757@lurchi.franken.de> <1322888085250-5043901.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: Sat, 03 Dec 2011 13:34:44 -0000 Hi, Michael The problem about sctp_connectx is solved.Thank you very much. But I encounter another problem, it's about sctp_getladdrs().Every time I call this function, the return value is "ENOMEM". Even I reboot the computer, this problem still exists. My function is: struct sockaddr *show_ip_address = NULL; sctp_getladdrs(_sctp_socket, _sctp_associd, &show_ip_address); -- View this message in context: http://freebsd.1045724.n5.nabble.com/the-return-value-of-sctp-connectx-do-not-match-any-error-tp5041952p5044536.html Sent from the freebsd-net mailing list archive at Nabble.com.