• Post Reply Bookmark Topic Watch Topic
  • New Topic

When a Client exits, does he close some connection???

 
Shailendra Guggali
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does one have to close something when one wants to exit???
The object you have is the remote object - You are closing with EXIT or WONDOWCLOSING - Do you need to do anything with this remote object like making it ready for Garbage Collection.
I tried to use the close() method, but it closes the RandomAccessFile Object and any more connections are refused due to NULL POINTER.
How do you exit the CLIENT gracefully with all programming etiquettes followed???
Thanx for replying
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!