I´m using a Fez Domino withy a wiznet 5100 shield as a tcp server
I have a thread wich accepts tcp connections and another one that will process the requests.
In this 2nd thread I have a endless loop for processing all the incoming msgs and accordinh with the msgs the server will send back (using the same connection) the apropriate answers.
I have a problem; if the client hangs or desconnect I do not know about this situation and do not have the chance to make a ‘sockect.close’.
Restarting the client and if this happens more than twice I have no available sockets.
Anybody knows how can I be notified that a client no longer is connected to the server ?
Thanks in advance