sanjay nayak has asked for the wisdom of the Perl Monks concerning the following question:
Actually what i want is if the recv function doesn't receive anything within 3secs then it will exit and i can print a "Time out message" in the console.$MySocket->recv ($text,1000);
20061009 Janitored by Corion: Moved text out of code tags, as per Writeup Formatting Tips
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How time out can be done here?
by shmem (Chancellor) on Oct 09, 2006 at 11:55 UTC | |
|
Re: How time out can be done here?
by skx (Parson) on Oct 09, 2006 at 11:55 UTC | |
|
Re: How time out can be done here?
by Anonymous Monk on Oct 09, 2006 at 12:14 UTC | |
by sanjay nayak (Sexton) on Oct 10, 2006 at 04:03 UTC | |
by ikegami (Patriarch) on Oct 10, 2006 at 04:20 UTC | |
by sanjay nayak (Sexton) on Oct 09, 2006 at 13:47 UTC |