This is the mail archive of the
mailing list for the Cygwin project.
Re: On WIN7, write() not returning immediately even on non-blocking sockets
Pankaj Yadav writes:
> The code where it gets stuck is
> printf("Nonblocking:%d\n",(fcntl(t_qelem->respsock, F_GETFL, 0) &
> i = write(t_qelem->respsock,&t_qelem->webtoresp[t_qelem->webtorespsent],t_qelem->webtoresplen-t_qelem->webtorespsent);
> Output is : Non-blocking:1 and then it does NOT print "written" ever.
You'd have better chances of getting help if you could come up with a
minimal program that exhibits the error.
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf rackAttack:
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple