Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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.

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2017-12-17 20:56 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (466 votes). Check out past polls.