Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: IO Socket buffer flushing

by ikegami (Patriarch)
on Jan 29, 2010 at 17:23 UTC ( [id://820371]=note: print w/replies, xml ) Need Help??


in reply to Re^2: IO Socket buffer flushing
in thread IO Socket buffer flushing

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://820371]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-23 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found