CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: IP addresses

  1. #1
    Join Date
    Aug 2000
    Location
    England
    Posts
    185

    IP addresses

    Hello,

    Given an IP address is it possible to determine whether or not the user of that IP address is online?

    Thanks

    Andrew


  2. #2
    Join Date
    Apr 2000
    Posts
    737

    Re: IP addresses

    you can ping the address.

    HTH

    cksiow
    http://vblib.virtualave.net - share our codes

  3. #3
    Join Date
    Jun 2001
    Location
    Memphis, TN
    Posts
    146

    Re: IP addresses

    Go to a DOS prompt (home sweet home) and type "ping " and then the IP address or DNS name. If you get back command or file name, go to the windows directory.

    For more info though, type "tracert " and then the IP address. that will trace packets through all the servers and routers between you and the IP you are tracing.

    If you are on the same LAN as the IP you're after, try "nbtstat -A " and then the IP. That will give you NetBIOS table stats and show the current user's name and the computer name and all that good stuff.


  4. #4
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: IP addresses

    Here is a sample that does not use DOS to do its dirty work. I hae not tried it personally, but Randy Birch does some nice coding
    http://www.planet-source-code.com/xq...s/ShowCode.htm

    John G

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured