Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.net.SocketException: Listen fail?

 
khurram mirza
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,
In Connecting client to server through Socket 'somtimes' i get exception,java.net.SocketException : listen fails (code=1005) eventhough i have keep Socket object in a loop until it get instantiated.the problem should not appear as "accept" is blocking call.what could be reason.
khurram mirza.
 
Tony Ge
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
code???
 
khurram mirza
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Exception is java.net.SocketException: listen failed (code=10055)
khurram mirza
 
khurram mirza
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,
In Connecting client to server through Socket 'somtimes' i get exception,java.net.SocketException : listen fails (code=10055) eventhough i have keep Socket object in a loop until it get instantiated.the problem should not appear as "accept" is blocking call.what could be reason.
khurram mirza.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic