This discussion is archived
6 Replies Latest reply: Mar 1, 2010 9:17 PM by DarrylBurke RSS

Socket connection to a cell phone by using emulator

843851 Newbie
Currently Being Moderated
Hi,

I have been studying on the client-server communication between my cell phone and the emulator.
I want to connect to my cell phone from emulator.
For this reason, I can get my cell phone ip with getLocalAddress() method by using an instance of ServerSocketConnection.
However, my cell phone ip changes constantly(once per second). Because I can't get the true ip of my cell phone at that time, I can't connect to my cell phone from emulator.
Is there anyone who knows what I must do?
Thanks in advance.