This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Socket Connection Not Working With Java Desktop Application

 
Nishu Jain
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I had created a console application in which i was trying to create a socket connection with the server using

[b]Java Class ServerConnect----
[/b]

The console java application properly created the socket connection but.

When i tried to do the same thing through the Desktop application i.e giving call to the function of ServerConnect class for Socket Connection it does not work.
When i tried to debug the Desktop Application the controls hangs at line

Socket socket = new Socket(hostIpAddress,32); and does not moves further, not even giving any exception.

Can anybody suggest what might be the problem/error.

Thanks
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic