Date: Mon, 26 Sep 2011 06:50:51 -0700 (PDT) From: jyl_2006 <yilinjing2006@gmail.com> To: freebsd-net@freebsd.org Subject: Re: message from sctp getsockopt or sctp_opt_info show error Message-ID: <1317045051344-4841420.post@n5.nabble.com> In-Reply-To: <AE6AB879-EB03-4F50-ABF9-820903EF9780@lurchi.franken.de> References: <1316871818655-4836594.post@n5.nabble.com> <AE6AB879-EB03-4F50-ABF9-820903EF9780@lurchi.franken.de>
next in thread | previous in thread | raw e-mail | index | archive | help
I use one wireless card to communicate with another computer,which also has one wireless card. Both two computer does not set any system parameters by using command sysctl . I use a tarball to test and record. In this tarball,computer A use sendmsg() to send a file, and computer B use recvmsg() to receive data from computer A. Both the computer enable subscribe.sctp_data_io_event = 1; subscribe.sctp_association_event = 1; When computer A get data from function recvmsg(), I call getsockopt to get status of association. I set sstat_assoc_id as the value given by sctp_notification, and sctp_opt_info's return value is 0, so I guess it work well. But the results shows the value does not correct. Second time,I use two computer,one computer run with Ubuntu, and the other computer run with FreeBSD 9.0 , in Ubuntu,the result is OK, but in Freebsd ,the result keep same value. So , does something we did wrong or steps I missed? -- View this message in context: http://freebsd.1045724.n5.nabble.com/message-from-sctp-getsockopt-or-sctp-opt-info-show-error-tp4836594p4841420.html Sent from the freebsd-net mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1317045051344-4841420.post>