Results 1 to 2 of 2

Thread: how can i get IP address

  1. #1
    Join Date
    May 2009
    Posts
    38
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Question how can i get IP address

    does any one know how to get the IP address in the server side? I want to know the IP address of each client that connect to the this server.

    it is very weird that both Qtcp and Qupd socket class don't have method like getIP().
    send the IP address from client side as transmission data is not always good idea.

    most of client are behind router, it will return local IP and it is not reliable

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how can i get IP address


  3. The following 2 users say thank you to aamer4yu for this useful post:

    dognzhe (12th May 2009), Krzysztow (13th December 2010)

Similar Threads

  1. IP address find
    By kpmsivachand in forum Qt Programming
    Replies: 6
    Last Post: 21st February 2009, 18:11
  2. validation on an IP address
    By rajveer in forum Qt Programming
    Replies: 15
    Last Post: 24th August 2008, 00:35
  3. How to display My Current System IP Address...???
    By maveric in forum Qt Programming
    Replies: 8
    Last Post: 4th August 2008, 17:22
  4. Native Mac Address
    By genny77 in forum Qt Programming
    Replies: 3
    Last Post: 4th August 2007, 10:02
  5. Qt 4.1.1 linker warnings
    By Matt Smith in forum Installation and Deployment
    Replies: 0
    Last Post: 26th February 2006, 22:14

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.