retrieve all ip addresses in system

Discussion in 'C Programming' started by hari, Jul 8, 2003.

  1. hari

    hari Guest

    Hi ,

    is there any system or C function calls to retreive the list the ipaddress
    in a system (windows2000). there are 2 nic's.

    thanks,
    hari
     
    hari, Jul 8, 2003
    #1
    1. Advertising

  2. hari

    flekso Guest

    look up gethostname, gethostbyname

    "hari" <> wrote in message
    news:...
    > Hi ,
    >
    > is there any system or C function calls to retreive the list the

    ipaddress
    > in a system (windows2000). there are 2 nic's.
    >
    > thanks,
    > hari
     
    flekso, Jul 8, 2003
    #2
    1. Advertising

  3. hari

    Richard Bos Guest

    "flekso" <> wrote:

    [ Do not top-post, please. ]

    > "hari" <> wrote in message
    > news:...
    > > is there any system or C function calls to retreive the list the
    > > ipaddress in a system (windows2000). there are 2 nic's.


    No ISO C way, no. For Windows-specific functions, ask in a Microsoft
    newsgroup.

    > look up gethostname, gethostbyname


    Neither of those functions is in the ISO Standard; therefore, both are
    off-topic here.

    Richard
     
    Richard Bos, Jul 8, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve Pinard
    Replies:
    1
    Views:
    1,372
    David Bolen
    Jul 14, 2003
  2. damacy
    Replies:
    31
    Views:
    914
    damacy
    Sep 1, 2006
  3. svirdi

    Get list of all IP addresses

    svirdi, Aug 8, 2006, in forum: C++
    Replies:
    2
    Views:
    446
    Default User
    Aug 8, 2006
  4. namespace1
    Replies:
    3
    Views:
    922
  5. Daniel Berger
    Replies:
    5
    Views:
    160
    Daniel Berger
    Jul 19, 2007
Loading...

Share This Page