Thread: IP Address ?

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    29

    Question IP Address ?

    A very simple Q - How do you obtain your computerīs IP address without writing code ?

    I know that its possible but I have forgotten ...


    THanks,

    Steven
    bigSteve

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    On windows?

    Get a command prompt and type IPConfig

  3. #3
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  4. #4
    Registered User
    Join Date
    Apr 2005
    Posts
    28
    In linux use a terminal as root and type:

    ifconfig

    if it fails try
    /sbin/ifconfig

    Your IP address is after the inet addr

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linux raw socket programming
    By cnb in forum Networking/Device Communication
    Replies: 17
    Last Post: 11-08-2010, 08:56 AM
  2. What does this do (Windows API)?
    By EVOEx in forum Windows Programming
    Replies: 4
    Last Post: 12-19-2008, 10:48 AM
  3. DX - CreateDevice - D3DERR_INVALIDCALL
    By Tonto in forum Game Programming
    Replies: 3
    Last Post: 12-01-2006, 07:17 PM
  4. Identify dynamic IP address of network device
    By BobS0327 in forum Tech Board
    Replies: 2
    Last Post: 02-21-2006, 01:49 PM