thoeniv has asked for the wisdom of the Perl Monks concerning the following question:
When I use this to create a client socket on the same server as the server socket, it works fine. When I try to open the client socket from another server on the same network it dies with the error message: Can't create client socket: No such file or directory. Any thoughts?use IO::Socket; my $server = IO::Socket::INET->new( PeerAddr = 'peer's ip address', PeerPort = 5050, Proto = 'tcp' ) or die "Can't create client socket: $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error opening socket!
by perlplexer (Hermit) on Apr 18, 2002 at 16:51 UTC | |
by thoeniv (Initiate) on Apr 18, 2002 at 17:35 UTC | |
|
Re: Error opening socket!
by dws (Chancellor) on Apr 18, 2002 at 18:02 UTC |