First suggestion: use TCP, and get flow control for free (not free of course, 
but it's worth it).

If you really want to (or have to) use UDP and no flow control, in my 
experience enlarging the UDP socket buffers works wonders.  You could probably 
use the parameters you mention to achieve this.  But rather than changing the 
system-wide defaults, I strongly suggest that you use setsockopt(..., 
SOL_SOCKET, SO_{SND,RCV}BUF, ...) on the sending and receiving sockets of your 
non-flow-controlled application.
-- 
Simon.
-- 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to