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
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: java.net.SocketException: Listen fail?
 
Similar Threads
java.net.SocketException: socket write error (code=10055)
Problem stopping Thread
Can I use the same socket to to reconnect after the first connection failed.
Weblogic61 hanging : Urgent
java.net.SocketException: Unrecognized Windows Sockets error: 10106: create