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
In reply to How time out can be done here? by sanjay nayak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |