P is for Practical | |
PerlMonks |
Re: UDP Listener / Serverby ikegami (Patriarch) |
on Dec 30, 2007 at 10:15 UTC ( [id://659592]=note: print w/replies, xml ) | Need Help?? |
IO::Socket::INET is a handy interface to create the socket. If you have multiple server sockets, IO::Select will allow you to wait them. recv will allow you to receive from the socket. You might need unpack to extract the data from the packet. Encode's decode will translate strings of bytes into strings of characters.
In Section
Seekers of Perl Wisdom
|
|