The moose likes JDBC and Relational Databases and the fly likes Lock server socket processor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Lock server socket processor" Watch "Lock server socket processor" New topic

Lock server socket processor

somenath chatterjee

Joined: Mar 20, 2008
Posts: 16
HI all I am working on a socket based application which is continuously running on specific port and listening client terminal request. For tracking request client request I used �
InetAddress netAdd = clientSocket.getInetAddress();
So when-ever client hit the server we can trace client IP address.

Now I am facing a problem that is- when I run the server socket, automatically a client hit the socket, but not sending any request and it lock the socket. So the socket can�t handle other request. For clear understanding I am giving also log message -

2008-04-01 03:36:06,170 INFO com.socket.Listener - Socket server started on port:*****
2008-04-01 03:36:06,245 INFO com.socket.Listener - Client InetAddress = /
Let me know if you faced similar problem and the solution if available.
I agree. Here's the link:
subject: Lock server socket processor
It's not a secret anymore!