Re: On WIN7, write() not returning immediately even on non-blocking sockets

2016-08-15 Thread Pankaj Yadav
On Aug 16, 2016 12:31 AM, "Achim Gratz" wrote: > > Pankaj Yadav writes: > > The code where it gets stuck is > > > > printf("Nonblocking:%d\n",(fcntl(t_qelem->respsock, F_GETFL, 0) & > > O_NONBLOCK))?1:0; > > i = > > write(

On WIN7, write() not returning immediately even on non-blocking sockets

2016-08-15 Thread Pankaj Yadav
ns only when the connection has closed from the other side coz it happens when i close the browser which is using this proxy software.Can you please help me out, if i am doing something wrong. Thanks -- -- Regards Pankaj Yadav -- Problem reports: http://cygwin.com/problems.html FAQ: