Can multiple apps listen for TCP on the same port?
Someone Somewhere
somewheresomeoneis at gmail.com
Tue Dec 2 07:19:37 UTC 2014
backlog is more than one since nc can wait for multiple connections via -k
option(and also because backlog value is hard coded).
https://www.freebsd.org/cgi/man.cgi?query=nc&apropos=0&sektion=0&manpath=FreeBSD+10.1-RELEASE&arch=default&format=html
On 2 December 2014 at 11:26, Yuri <yuri at rawbw.com> wrote:
> On 12/01/2014 20:22, Someone Somewhere wrote:
>
>> I think backlog value has no direct implication here.
>> What matters is if the listening socket has been closed after accepting
>> the
>> client connection or not.
>> -Kunal.
>>
>
> I think backlog >1 in one-user one-connect app (as nc) might catch other
> connections and later drop them. I might be wrong.
>
> Yuri
>
More information about the freebsd-net
mailing list