Hi, this is my first post, so don't blame me (too much) if i'm posting to
the wrong list.
I'm working on a very simple client/server program in Perl... A server
broadcasts udp packets with some info that a couple of clients then
collect & display.
Well, could anyone tell me what's the mistake in the following piece of
code?
---------------------------
use strict;
use IO::Socket;
my ($sock, $portno, $serverhost);
$portno = 11666;
$serverhost = "255.255.255.255";
$sock = IO::Socket::INET->new(
Proto => 'udp',
PeerPort => $portno,
PeerAddr => $serverhost) or die "IO::Socket::INET -> $!\n";
---------------------------
Because it works ok under Cygwin but gives me a "permission denied"
error in Mandrake 7.2
Any clue?
Thanks in advance.
PS: Please don't reply me with the "ask Mandrake" stuff...
I'm also asking there ;-)