|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: UDP socket: Operation not supportedby edan (Curate) |
| on Dec 20, 2004 at 07:38 UTC ( #416123=note: print w/ replies, xml ) | Need Help?? |
|
You can't "Listen" on UDP sockets, only TCP, since UDP is a connectionless protocol - it's a message-passing protocol. If you drop the "Listen" parameter to the new(), you'll find that you'll be able to create the socket. You'll then want to call $sock->recv() (with the appropriate arguments), which will block until you receive a message... HTH
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||