Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SocketException 10061, what i'm doing wrong?  RSS feed

 
Lars Tode
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Everytime, I tried to connect to server I get the SocketException 10061.
Code:
Socket s= new Socket(192.168.0.1,12345);
InputStreamstream= s.getInputStream();
The ip and port of the server are correct.
What I'm doing wrong?
thx
Lars
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!