This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.net.SocketException: Listen fail?  RSS feed

 
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!