Thread: Get my Public IP

  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    2

    Get my Public IP

    How can I get my Public IP with C++(Windows)?

    Thank you!

  2. #2
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    639
    Use your favourite internet download method (sockets, wininet, libcurl, UrlDownloadToFile) to download the content at http://www.whatismyip.com/automation/n09230945.asp. The result is your ip address

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [C#] Intercept SysListView32 item added
    By Devils Child in forum Windows Programming
    Replies: 9
    Last Post: 03-26-2010, 07:29 AM
  2. OOP Question DB Access Wrapper Classes
    By digioz in forum C# Programming
    Replies: 2
    Last Post: 09-07-2008, 04:30 PM
  3. Linking problems in Visual Studio
    By h3ro in forum C++ Programming
    Replies: 5
    Last Post: 03-04-2008, 02:39 PM