![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re^3: IO Socket buffer flushingby ikegami (Patriarch) |
on Jan 29, 2010 at 17:23 UTC ( #820371=note: print w/replies, xml ) | Need Help?? |
TCP provides a stream of bytes. You need to do your own record delimiting. readline works because it waits until a delimiter is found. If you need a sysread version (perhaps so you can use select), see Re^3: Can a socket listen for multiple hosts? for an example.
In Section
Seekers of Perl Wisdom
|
|