Uri Guttman <[EMAIL PROTECTED]> writes:
>>>>>> "NI" == Nick Ing-Simmons <[EMAIL PROTECTED]> writes:
>
> NI> Uri Guttman <[EMAIL PROTECTED]> writes:
> >>
> >> try looking at how perl does select (4 arg) under winblows.
>
> NI> It only works for Sockets in blocking mode. It is near useless.
>
>is it select or winblows that is useless?
select. It maps to the select() which is part of old Win16 Sockets API.
As a result it can only be used on sockets, not pipes, Console or
other things UNIX folk would expect.
Another mess is that O_NONBLOCK type access which is extemely useful
for TCP sockets (select() says there is a byte, but I want a line) only
works if socket is in a mode which makes select() non-functional.
Add to this that C runtime used by perl interacts badly with both the
above and you have a right mess.
--
Nick Ing-Simmons <[EMAIL PROTECTED]>
Via, but not speaking for: Texas Instruments Ltd.