Windows Sockets IP

This is a discussion on Windows Sockets IP within the Networking/Device Communication forums, part of the General Programming Boards category; Is there a way of retrieving my own IP address by using windows sockets?...

  1. #1
    Registered User
    Join Date
    Oct 2005
    Location
    Brasil
    Posts
    220

    Windows Sockets IP

    Is there a way of retrieving my own IP address by using windows sockets?

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    not too easy to get dynamic internet ip via pure winsock

    static or dynamic?

    Kuphryn

  3. #3
    Registered User
    Join Date
    Oct 2005
    Location
    Brasil
    Posts
    220
    Either dynamic and static.

  4. #4
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    static ip

    check out msdn for winsock api to get network ip address or router api (system is connected to the internet via router)

    dynamic ip

    one approach is to connect to an external server such as webserver and log if host broadcasts the ip address

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  2. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 03:44 AM
  3. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 06:05 PM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21