[Mono-list] System.Net.Sockets.TcpLister

Jonathan Stowe gellyfish@gellyfish.com
Tue, 2 Apr 2002 08:22:06 +0100 (BST)


It would appear that the assumption in TcpListener.Start() that a backlog
of -1 passed to Listen() is incorrect.  It would probably be easier to fix
this in mono/mono/metadata/socket-io.c by having

ves_icall_System_Net_Sockets_Socket_Listen_internal()

check whether backlog is -1 and then set it to SO_MAXCONN if it is.

I can do a patch if you want but it is only 1 line :)

/J\
-- 
Jonathan Stowe                      |
<http://www.gellyfish.com>          |      This space for rent
                                    |