Re: Threads, sockets and windows



Hello!

Under Window you can use select(). For myself I've written for Win32 a
poll() function that internally use select() (so the code remains clean
and portable).
(Whoops. I should have pressed reply to all. Sorry for the
inconvenience, Frank.)

No problem.

The Windows select() function only works for sockets. One cannot give it
a regular file descriptor (like a pipe). Note that sockets are no file
descriptors on windows.

Yes, right. I overseen the pipe.


Regards,
Frank



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]