Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: socket periodically loses data

by jasonk (Parson)
on Feb 13, 2003 at 18:51 UTC ( #235056=note: print w/ replies, xml ) Need Help??

in reply to socket periodically loses data

Why do you believe that being predictable means it isn't a code problem? TCP/IP is supposed to ensure packet delivery, if your perl code isn't broken, then your network stack is.

Comment on Re: socket periodically loses data
Re: Re: socket periodically loses data
by jhanna (Scribe) on Feb 13, 2003 at 19:45 UTC
    I'd totally love to find someone prove me wrong (the code can be downloaded from the sourceforge site), but I'm baffled how my code which just gets lines from the socket and processes them would work for 99.99% of the lines and fail on the 0.01% -- it's doing the same thing over and over again. Maybe it is the TCP/IP stack, but then it's broken for Linux and Windows... I'd think someone would have noticed.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2015-07-06 03:33 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (70 votes), past polls