Hello Abdullah, You can check winsock error in OnSessionClosed of your client program. If it does have an error and you never call Close(Delayed) in your client then you can assume that server close connection.
If you have errorcode then possible it is due to data loss or some firewall interfering. You can eventually download SocketSpy (user made page), and modify it to display witch side is closing. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Thursday, May 4, 2006, 14:46, Abdullah AlQasim wrote: > Hello All, > I am newbie with TWSocket .... I have some critical problem with my > project : > My client disconnected with out any reasons some time form Dial-up and > some times form my LAN .... Server side was built with Java and I am > using TWSocket with our protocol for getting data .... My client is > working fine parsing data and show it to grids. > How can I be sure that my client doest not have a problem ... or ether > this problem in Server side? > Best Regards. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be