cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: telnet on winNT

From: Nielsen Linus <Linus.Nielsen_at_elema.siemens.se>
Date: Fri, 27 Apr 2001 13:10:38 +0200

> Could it be because there's a file descriptor for stdin there? Windows is
> very picky on not mixing networked fds and file fds at other
> places, so I figure that can be what is happening here too...?

Hooga!

After searching the web on the subject I found out two interesting things:

1) Win32 select() cannot mix files and sockets.

2) Win32 select() only works if the sockets are in synchronous mode.

Blah!

What do we do?

/Linus
Received on 2001-04-27