Socket Connection problem
I have developed a client server application. Server also comunicates with a mysql server located on the same computer.
Server accepts standard tcp connections. Each connection goes to its own thread. Application runs ok, but (there is a "big" but here)
sometimes server for some unknown reason stops accepting connections or responding to already connected clients without throwing an exception.
Server GUI is responding, however (there are some buttons on the server application that work). But client hangs. It just hangs. Strange is also the fact that client does not shut down (i.e. pressing the
'x' button) until server is shut down. It might be a client's error, but I don't get an exception there, either.
I have been trying all day to see what's going on. I can post any code if asked. I need a hint. Whatever. Something to unblock me.
any help would be much appreciated.