in reply to Re: Which IPCs are available on Windows that support select() function besides sockets?
in thread Which IPCs are available on Windows that support select() function besides sockets?

Ummmm... the operating system is MSWin32... he doesn't have access to socketpair (according to perlport anyway) and definitely doesn't have access to fork. Unless he is running cygwin that is.
  • Comment on Re^2: Which IPCs are available on Windows that support select() function besides sockets?

Replies are listed 'Best First'.
Re^3: Which IPCs are available on Windows that support select() function besides sockets?
by sgifford (Prior) on Oct 17, 2005 at 01:18 UTC
    I regularly use both socketpair and fork in my MSWin32 Perl apps with ActiveState perl, and both work OK, though fork can be a little fussy.

    It does seem that perlport(1) says socketpair is unavailable, which seems to be incorrect. My copy of perlport(1) says fork is properly emulated on Win32, though. This is the documentation that comes with Perl 5.8.1.

    It may be that socketpair is implemented in terms of IP sockets, though, which means it wouldn't help the OP. I don't recall, and don't have a copy of Windows handy to test with.

      Thanks for that. I had just accepted perlport's view of the world with regard to socketpair. Should have remembered that functionality continues to be added. :)