Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: UDP Listener / Server

by ikegami (Patriarch)
on Dec 30, 2007 at 10:15 UTC ( [id://659592]=note: print w/replies, xml ) Need Help??


in reply to UDP Listener / Server

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://659592]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-26 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found