in reply to Re^3: Alternative for Select for pipes in Windows?
in thread Alternative for Select for pipes in Windows?
use Socket qw( AF_UNIX SOCK_STREAM PF_UNSPEC ); sub winsocketpair { socketpair(my $fh1, my $fh2, AF_UNIX, SOCK_STREAM, PF_UNSPEC) or return (); return ($fh1, $fh2); }
(From Re^4: why IPC::Open3 can't execute MS-DOS "dir" command?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Alternative for Select for pipes in Windows?
by BrowserUk (Patriarch) on Nov 06, 2010 at 06:11 UTC |