API to see IP

This is a discussion on API to see IP within the C Programming forums, part of the General Programming Boards category; Hi I need a API or some way to see my Local Ip adress Anyone knows? Thanks...

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    39

    API to see IP

    Hi

    I need a API or some way to see my Local Ip adress

    Anyone knows?

    Thanks

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    Presumably the API would either be Berkeley sockets or Winsock, depending.

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    266
    The only 3rd party networking api I've ever used is the one built in with SFML. There is a function there that gives you the local IP. It's actually a very good networking api. Try it. It has some other nice features to.

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    39
    I want on Winsockets

    Thanks

  5. #5
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Everything you need to know about Windows programming is on the MSDN
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  6. #6
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,660

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Converting 32 bit binary IP to decimal IP (vice-versa)
    By Mankthetank19 in forum C Programming
    Replies: 15
    Last Post: 12-28-2009, 06:17 PM
  2. Replies: 6
    Last Post: 06-08-2006, 04:11 PM
  3. Ip adresses
    By Da-Nuka in forum Networking/Device Communication
    Replies: 8
    Last Post: 02-27-2005, 01:25 PM
  4. FILES in WinAPI
    By Garfield in forum Windows Programming
    Replies: 46
    Last Post: 10-02-2003, 06:51 PM

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