I need an example server based on a selection that receives and sends data from / to the client. I prefer the MSDN example, but I could not find it on MSDN.
There is a good one here; http://tangentsoft.net/wskfaq/examples/basics/select-server.html
But my implementation is almost the same, except that I did not install ExceptFDs, this value is null. I set the function timeout to 250 ms.
And when one client is connected, and the server sends data to the client, there is no problem. It works for weeks without any problems. But when the client also sends the data server, after appr. 5 hours, an exception STATUS_STACK_OVERFLOW is raised in the select function line.
I'm really stuck. I would appreciate any advice. Many thanks
source share