Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-06-2008, 11:11 AM
Member
 
Join Date: Dec 2007
Posts: 36
rameshraj is on a distinguished road
Socket Closed!
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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception : ResultSet is closed nanimtech Database 3 Today 06:32 AM
How To Make Socket Connection madhumurundi Networking 5 04-21-2008 07:05 PM
How to handle socket Exception mayank0512 Networking 13 01-10-2008 01:53 PM
Socket vortex New To Java 0 12-02-2007 04:39 PM
XML through a socket Heather XML 2 07-04-2007 10:31 AM


All times are GMT +3. The time now is 09:14 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org