in reply to Intercepting UDP broadcasts
From the documentation, which I know you said you read, the example that looks most similar to yours is a bit different:
In particular, the information concerning the peer. I am wondering if setting the PeerAddr to the broadcast does something special even though technically what you have should be picking up from any address. Unfortunately, I do not have the means to test presently.$sock = IO::Socket::INET->new ( PeerPort => 9999, PeerAddr => inet_ntoa(INADDR_BROADCAST), Proto => udp, LocalAddr => 'localhost', Broadcast => 1 ) or die "Can't bind : $@\n";
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Intercepting UDP broadcasts
by Abigail-II (Bishop) on Jan 30, 2004 at 16:57 UTC |