Hello everyone, I have to create a server in a midlet and connect to the server mobile phone with another client mobile phone, when I use:
(ServerSocketConnection)Connector.open("socket://"); // or specify a port number
getLocalAddress returns 127.0.0.1, which is just the localhost, so how do I create a server socket that has an inbound address(in a 3G network or GPRS network)?
I also tried push registry, however, it seems to be the same, I followed the instruction in:
http://developers.sun.com/mobility/midp/articles/pushreg/ the question is, what is the address that others can connect to you?
Thanks a lot!