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: $!";
In reply to Error opening socket! by thoeniv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |