agarsha has asked for the wisdom of the Perl Monks concerning the following question:
...use IO::Socket::UNIX; my ($parent_unix_socket,$child_unix_socket); #my $unix_socket_path = "/tmp/unix_socket"; my $unix_socket_path = "C:\\TMP\\unix_socket"; print $unix_socket_path . "\n"; $parent_unix_socket = IO::Socket::UNIX->new( Local => $unix_socket_pat +h, Listen => 1 ); unless ( $parent_unix_socket ) { unlink($unix_socket_path); Carp::croak("Failure To Create Listening Unix Socket: $!"); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: AF_UNIX Domain Sockets on Windows using IO::Socket::UNIX
by pg (Canon) on Mar 09, 2003 at 02:30 UTC | |
by agarsha (Acolyte) on Mar 09, 2003 at 03:25 UTC | |
|
Re: AF_UNIX Domain Sockets on Windows using IO::Socket::UNIX
by Anonymous Monk on Aug 30, 2019 at 09:47 UTC |