On Wed, 2007-03-07 at 19:34 +0000, Bruce M. Simpson wrote: > Alexandru Arion wrote: > > Is there an equivalent in FreeBSD to the SO_ACCEPTCONN option for > > getsockopt(), available in Linux? It doesn't actually has to be an > > option for getsockopt(), just a way to determine if a socket has been > > marked to accept connections with listen(). > > > SO_ACCEPTCONN appears to be in FreeBSD 6.2 and CURRENT already. > Thanks for both suggestions. Since I'll support version 5.4 and up, this leaves me to using the workaround implied by calling accept and checking the returned value, for now.
AlexA > Regards, > BMS > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"