Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Mar 2007 11:15:42 +0200
From:      Alexandru Arion <aarion@bitdefender.com>
To:        freebsd-net@freebsd.org
Subject:   Re: SO_ACCEPTCONN equivalent
Message-ID:  <1173345342.4957.13.camel@aarion>
In-Reply-To: <45EF13CD.8020800@FreeBSD.org>
References:  <1173273861.4982.8.camel@aarion>  <45EF13CD.8020800@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 "freebsd-net-unsubscribe@freebsd.org"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1173345342.4957.13.camel>