943,822 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1113
  • Java RSS
Dec 17th, 2008
0

To get ip in j2me

Expand Post »
Hai Friends,

Iam using gprs connection for my project, i want to send message from pc server to my mobile client by UDP connection,
how can i do? how can i get ip for mobile gprs connection? please help me for this problem
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
Venks is offline Offline
35 posts
since Feb 2007
Dec 17th, 2008
0

Re: To get ip in j2me

You mean after successfully establishing a gprs connection, right ?
Are you using Nokia *** or ?

Try the following codes:
1.
ServerSocketConnection scn = (ServerSocketConnection)Connector.open("socket://:1234");
System.out.println(scn.getLocalAddress());
Reputation Points: 9
Solved Threads: 2
Light Poster
AlbertPi is offline Offline
33 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Image Path
Next Thread in Java Forum Timeline: Exporting multiple Strings to a text file?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC