Re: Threads, sockets and windows
- From: Frank Naumann <fnaumann boerde de>
- To: Armin Burgmeier <armin arbur net>
- Cc: gtk-list gnome org
- Subject: Re: Threads, sockets and windows
- Date: Tue, 8 Aug 2006 14:30:58 +0200 (CEST)
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]