Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Socketsby jepri (Parson) |
on Jan 08, 2002 at 15:49 UTC ( [id://137103]=note: print w/replies, xml ) | Need Help?? |
You need to 'accept' the socket. The old socket is then reused:
then you should do a
to read from your socket. tye will tell you that <SOCKET> is bad, mmmmkay? Sorry.. too tipsy to do more than cut and paste from my own code. As near as I can tell 'accept' clones the socket, then goes back to listening on the old one. If anyone here would care to explain... The docs are pretty short on this operation. Going through other people's code is the best way in this case. ____________________
In Section
Seekers of Perl Wisdom
|
|