[Jprogramming] SOMAXCONN in netdefs

bill lam bbill.lam at gmail.com
Sat Nov 23 05:40:35 UTC 2013


That constant is pulled from winsock.h although virtually
everyone should already uses winsock2.

At any rate, I guess TCP is meant to be reliable and a low value
of SOMAXCONN should not make any connections failed. Please
report if this is not the case.

Пт, 22 ноя 2013, Pascal Jasmin писал(а):
> If I understand correctly, this constant is used as the maximum number of connections in sdlisten (sockets.ijs).  It is not completely obvious if this is just a default parameter, or if it is a system limit. (the name suggests it is a system limit, though I do not notice it enforced).
> 
> At any rate, netdefs for win64 (and 32)  has this set at 5, while linux/android have it as 128.  I read somewhere that a practical limit on sockets in windows is 1024.  Can the number in netdefs be increased?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3


More information about the Programming mailing list