packetwhacker has asked for the wisdom of the Perl Monks concerning the following question:
I have used setsockopt/TCP_NODELAY, and $socket->autoflush(1) for the sockets in question on my end, and there are still times when Perl (or something) buffers the data and sends out a TCP packet that contains more than one barcode read... I can see it on a packet sniffer.
FWIW, this Perl script is running on Debian R4.0.
Does anyone have any idea where this additional buffering is coming from? ... And more importantly, how to make it go away? :-)
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sockets, autoflush, and TCP_NODELAY
by BrowserUk (Patriarch) on Apr 17, 2009 at 15:31 UTC | |
by packetwhacker (Initiate) on Apr 20, 2009 at 13:39 UTC | |
by BrowserUk (Patriarch) on Apr 21, 2009 at 03:23 UTC | |
by packetwhacker (Initiate) on Apr 21, 2009 at 17:17 UTC | |
by BrowserUk (Patriarch) on Apr 21, 2009 at 17:50 UTC | |
|
Re: Sockets, autoflush, and TCP_NODELAY
by Corion (Patriarch) on Apr 17, 2009 at 08:05 UTC | |
by BrowserUk (Patriarch) on Apr 17, 2009 at 15:13 UTC | |
|
Re: Sockets, autoflush, and TCP_NODELAY
by targetsmart (Curate) on Apr 17, 2009 at 09:49 UTC |