Pelles C forum

C language => Windows questions => Topic started by: halsten on November 28, 2008, 06:35:43 AM

Title: FD_READ and FD_CLOSE socket problem
Post by: halsten on November 28, 2008, 06:35:43 AM
Hey,

I am trying to receive data via windows sockets in a GUI application am developing. FD_ACCEPT works well and accepts the client. However, FD_READ does not seem to be triggered at all when it receives any data nor FD_CLOSE seems to be triggered when the clients terminates the connection. I have attached a sample application to understand what I mean. Any ideas should be appreciated. Thanks in advance.

Regards,
halsten