in reply to Socket Programming On Different Networks
I do not claim expertise on sockets, but I believe you need to specify a "localport":
my $socket = IO::Socket::INET::->new ( Listen => 5, LocalAddr => '0.0.0.0', LocalPort => 8888, # <<<< L I S T E +N on this port Proto => 'tcp', ReuseAddr => 1); # "Reuse" is deprecat +ed
All power corrupts, but we need electricity.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Socket Programming On Different Networks
by EagerforPerl (Novice) on Oct 30, 2017 at 02:34 UTC |