Problems? Is your data what you think it is? | |
PerlMonks |
Re: Getting stuck reading from a socketby jethro (Monsignor) |
on Jul 11, 2012 at 13:25 UTC ( [id://981115]=note: print w/replies, xml ) | Need Help?? |
Where is the code where you check for success of your calls? Does the new succeed? Does send succeed? Did you check whether the PeerAddr and PeerPort parameters to new are what you want? PS: I might be misinterpreting your question. Do you ask because your script always blocks on reading or because it normally works but you want to avoid blocking in case the hardware doesn't answer?
In Section
Seekers of Perl Wisdom
|
|