Thanks & Regards,<br />Chandramouli Ram
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Are you looking to do more than just catch IOException and abandon that client? The server can't reconnect or anything useful, can it?
Thanks & Regards,<br />Chandramouli Ram
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Thanks & Regards,<br />Chandramouli Ram
for the exchanges between your client's and server.protocol
andlogin
are handled (Hence, why it's so important to call the close() of the java.sql.Connection when the process is finished using it). In order to manage these differentdisconnect
that can occur through the connection, you will likely need define something of a message protocol (if you haven't already) that denotes the type of message being sent over the connection. That way on the client side, when the client exits or disconnects, you can send the appropriate message to the server indicating that you want it to terminate any thread associated with that client (i.e. clean up any server side resources).events
Thanks & Regards,<br />Chandramouli Ram
Don't get me started about those stupid light bulbs. |