05-08-2012 11:51 AM
I type local host. 137.***.***.**, but the " Send Hello" & " Now, wait for the Goodbye".does not come out on the client screen or server screen.
How could I make " Send Hello" & " Now, wait for the Goodbye", which apears on screen.
Thank your quick reply.
05-08-2012 11:58 AM
Don't use localhost, just the IP. Please respond with more information on the changes made (code snippet, screenshot etc) if further support is needed.
05-08-2012 12:40 PM
String url = "socket://" + _screen.getHostFieldText() + ":44444" + (_screen.isDirectTCP() ? ";deviceside=true" : "");
connection = (StreamConnection)Connector.open(url);
How to change it?
My IP:137.***.***.**.
Really noob question.
Thx ur quick reply.
05-08-2012 12:44 PM
As I posted earlier:
http://supportforums.blackberry.com/t5/Java-Develo
05-08-2012 04:01 PM
05-08-2012 04:04 PM
Nope, you are using sockets, not HTTP and the server sample is listening on port 4444 by default. The client adds the protocol, so all you should need is 192.168.1.100 if that is your current IP.