aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes Client socket closing. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "Client socket closing." Watch "Client socket closing." New topic
Author

Client socket closing.

Mohan raj gaddam
Greenhorn

Joined: Feb 22, 2003
Posts: 4
Hi


When the server disconnects the client, then i have to close the client socket, its giving socketexception but the socket is not closing.How can i do that.. in the socketexception i gave system.out.println.. its keep on displaying. How do i close it once the server disconnects the client.
Client has a thread in which i am reading the data from the server, in the run method i am catching the socketException but not able to close the socket.

Regards,
Mohan raj
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Client socket closing.
 
Similar Threads
example socket
Networking (Socket) question.
Pool of socket connections
To get the details of client while sending a packet if it is closed or open?
Socket event when client disconnects?