I need an example of select based server, which receives and sends data from/to a client.
I prefer MSDN example but I could not find any on MSDN.
There is a good one here;
But my implementation is almost same, except for, I did not set ExceptFDs, it is null. I set select function's timeout to 250 ms.
And when one client is connected and server is sending data to client, there is no problem. It is working for weeks without problem.
But when client also sends data server, after appr. 5 hours,at the line of select function STATUS_STACK_OVERFLOW exception occurs.
I am really stuck. I will be appreciated for any advice.