Results 1 to 1 of 1
Thread: Socket Closed!
- 05-06-2008, 11:11 AM #1Member
- Join Date
- Dec 2007
- Rep Power
I have a class which implements the Runnable interface.From some portion of the class the new thread is created.The class takes the Socket parameter.
When I get into the run method and check the isClosed()method for the socket,it is closed inside the thread.Before calling the start method to run the new thread,the same socket is ok.
- By mayank0512 in forum NetworkingReplies: 14Last Post: 12-22-2010, 12:31 AM
- By nanimtech in forum JDBCReplies: 5Last Post: 08-06-2009, 04:11 PM
- By vortex in forum New To JavaReplies: 2Last Post: 05-25-2008, 07:41 AM
- By madhumurundi in forum NetworkingReplies: 5Last Post: 04-21-2008, 07:05 PM
- By Heather in forum XMLReplies: 2Last Post: 07-04-2007, 10:31 AM