This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Select function call
- To: gnu-win32 <gnu-win32 at cygnus dot com>
- Subject: Select function call
- From: Larry Gerhardstein <larry at 3-cities dot com>
- Date: Thu, 30 Jan 1997 23:06:30 -0800
- Reply-To: larry at 3-cities dot com
Does the select() function call work in Cygnus? According to online
information and FAQ, I am led to believe it should.
A program which I am attempting to port to Cygnus calls select() to
multiplex standard-in and a network socket. The network connect, and
I/O over the socket works. However, the value returned by select()
always is -1 and the value in errno is 1 (EPERM), both on NT 3.51 and
4.0. I have not tried this on Win95.
On Solaris 2.5.1, I link with libsocket and libnsl. On Cygnus, I am
linking without any additional libraries.
--
Larry Gerhardstein -- Kennewick, Washington
larry@3-cities.com
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".