A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sockets and Internet Protocols
Socket Connection Problem
Joined: Mar 26, 2009
Apr 06, 2009 04:41:22
in my program
i want ipaddress & port number to be entered by the user in text fields. this values should passed to socket connection
what i did
Socket s=new socket(ipaddress,port_no);
but this doesn't work....so do help me out......
Joined: Mar 22, 2005
Apr 06, 2009 04:53:22
You didn't say
it doesn't work, but in any case there is no Socket (
, String) constructor. You need to use an int for the port number. If that's not the problem you're facing,
of what is the problem.
Ping & DNS
- my free Android networking tools app
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Socket Connection Problem
Brio Report ReportMartException
java socket connection timeout taking more time when running in unix
Client Failed to connect, how do I attempt a reconnect?
Anyway to speedup TCP connection?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014