×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    353

    How to get IP address of phone connected to WLAN access point?

    Is there a way to find the IP address of a phone connected to a Wifi access point?
    If not in J2ME would it be possible in PyS60 or Symbian C++?

    device: 5800XM

  2. #2
    Registered User
    Join Date
    Oct 2009
    Posts
    9

    Re: How to get IP address of phone connected to WLAN access point?

    Try this code

    ServerSocketConnection mServerSocketConnection = (ServerSocketConnection) Connector.open("socket://:8000");
    String ip = "IP: " + mServerSocketConnection.getLocalAddress();

    tony

Similar Threads

  1. VoIP and wi-fi power-save mode
    By ng1234 in forum VoIP
    Replies: 6
    Last Post: 2009-07-06, 13:05
  2. Access Point Connection Problem on N96... Help!
    By asenechalM5T in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2008-11-17, 15:00
  3. Getting WLAN Access point SSID
    By nadav_smilansky in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2008-09-25, 16:32
  4. Getting phone Ip address
    By rajagopal.naidu in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-01-08, 08:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×