aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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?
 
Similar Threads
Weblogic61 hanging : Urgent
Problem stopping Thread
java.net.SocketException: socket write error (code=10055)
java.net.SocketException: Unrecognized Windows Sockets error: 10106: create
Can I use the same socket to to reconnect after the first connection failed.