+---------- On Aug 14, Andrew Piskorski said: > Or is it just that ns_write will block if the > socket send buffer is full?
I believe that's the case. ns_write just puts the data into the kernel's socket buffer and returns immediately if possible. > And if so, how do I find out how big my > TCP/IP send buffer is? Call getsockopt with SO_SNDBUF. The default, and the manner in which you set the default, varies from system to system. On Linux the default is in /proc/sys/net/core/wmem_default. In AOLserver 3.4 I think you can set sndbuf in the nssock section of the config file to change it.
