From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wai-Kong Sung To: gnu-win32@cygnus.com Subject: socket programming in Win95, concurrent server Date: Mon, 19 Jan 1998 17:06:00 -0000 Message-id: <34C3C43D.9D3ADF4E@commdevices.com> X-SW-Source: 1998-01/msg00442.html Hi! I am trying to build a simple concurrent TCP server using gnuwin32 in a Win95 environment. In the Unix way, the server listen to a port, accept it and fork a child process to handle the accepted socket. I tried the same thing in gnuwin32. However, I alwasy get a error when a error "descriptor is a file, not a socket" whenI tried to use this socket in the child process(select,recv, etc). I would like to know whether passing a child process inherit the socket handle from the parent in gnuwin32/Win95.  Thanks! waikong waikong@commdevices.com