develooper Front page | perl.perl5.porters | Postings from December 2003

Re: BUG fork/pipe on windows

Thread Previous
From:
Nick Ing-Simmons
Date:
December 8, 2003 09:36
Subject:
Re: BUG fork/pipe on windows
Message ID:
20031208173544.3132.8@llama.elixent.com
Uri Guttman <uri@stemsystems.com> writes:
>  NI>   - trying to use select() on a pipe (doomed...)
>
>select on pipes does work there in the other direction 

select() from WinSock ONLY WORKS FOR SOCKETS (and only sockets opened
in synchronous mode). There is a mountain of code in Tcl_Channel that 
juggles modes - my dire warnings are from the spirit of comments there.

So if it works "the other way" it is by luck.

>and with
>socketpair. 

Yes.



Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About