in reply to UDP socket: Operation not supported
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: UDP socket: Operation not supported
by chrism01 (Friar) on Dec 21, 2004 at 01:58 UTC | |
by edan (Curate) on Dec 21, 2004 at 07:56 UTC |