in reply to How to increase Socket buffer size?
In C (or C++) on Unix (and maybe Win32? Not sure), you'd do this by doing a
IO::Socket has setsockopt and sockopt methods. Have you tried setting SO_RCVBUF using those methods? Using getsockopt, you could at least check if using setsockopt changed _something_.int newMaxBuff=512000; setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &newMaxBuff, sizeof(newMaxBuff)) +;
As I said, wild guesses...
--
Mike
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to increase Socket buffer size?
by sureshr (Beadle) on Jun 03, 2003 at 08:04 UTC |