Re: select() hangs forever with Cygwin 1.5.18 on WinXP

2005-10-04 Thread Corinna Vinschen
On Oct 4 09:43, Vladislav Grinchenko wrote: > Hi, > > I am trying to use UNIX domain sockets in cygwin environment. > A program in question works fine just on any other POSIX > OS I can get my hands on (Linux, FreeBSD, Solaris, ...). > However, running on cygwin, sele

select() hangs forever with Cygwin 1.5.18 on WinXP

2005-10-04 Thread Vladislav Grinchenko
Hi, I am trying to use UNIX domain sockets in cygwin environment. A program in question works fine just on any other POSIX OS I can get my hands on (Linux, FreeBSD, Solaris, ...). However, running on cygwin, select() hangs forever. The program sets up 1 socket for Read mask and 2 sockets for

Re: Select() hangs forever

2005-04-29 Thread Corinna Vinschen
On Apr 28 11:48, Vladislav Grinchenko wrote: > A small test program creates a UNIX domain socket and listens on an > incoming connections. Then, from the same process, two ASYNC connections > are attempted (think of it as a loopback within a process). Calling > connect() on both returns "errno: 119

Select() hangs forever

2005-04-28 Thread Vladislav Grinchenko
Hi, I encountered a strange problem porting a POSIX-compliant networking library to cygwin: A small test program creates a UNIX domain socket and listens on an incoming connections. Then, from the same process, two ASYNC connections are attempted (think of it as a loopback within a process). Call