On Dec 2, 2011, at 3:07 PM, jyl_2006 wrote: > Hi, > I use FreeBSD 9.0 Beta2. > When I use sctp_connectx to init a new association , the return value of > this function is strange. > The return value is not any of following:1.EINVAL, 2.E2BIG, 3.EBADOF, > 4.ENOTSOCK. Hi,
the return value should be 0 (for success) or -1 (in case of an error). Only if -1 is returned, errno is set to an appropriate value. Can you provide a small test program demonstrating the issue? Best regards Michael > > I use perror() function to see detail, it shows that " Resource temporarily > unavailable". > > Thanks. > > -- > View this message in context: > http://freebsd.1045724.n5.nabble.com/the-return-value-of-sctp-connectx-do-not-match-any-error-tp5041952p5041952.html > Sent from the freebsd-net mailing list archive at Nabble.com. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" > _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"