This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes java.net.SocketException: Listen fail? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "java.net.SocketException: Listen fail?" Watch "java.net.SocketException: Listen fail?" New topic
Author

java.net.SocketException: Listen fail?

khurram mirza
Greenhorn

Joined: Jun 10, 2001
Posts: 25
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

Joined: Sep 05, 2001
Posts: 20
code???
khurram mirza
Greenhorn

Joined: Jun 10, 2001
Posts: 25
The Exception is java.net.SocketException: listen failed (code=10055)
khurram mirza
khurram mirza
Greenhorn

Joined: Jun 10, 2001
Posts: 25
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.net.SocketException: Listen fail?
 
It's not a secret anymore!