Thread: Finding active computers in local network.

  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    1

    Finding active computers in local network.

    Hi guys!
    How can I find out what computers in my local network? I need to implement something similar to this:

    nmap -sP 192.168.0.0/24
    But need to implement it using pure C code without calling system().

    nmap works pretty fast it doesn't look like it uses usual ping.

    Thanks.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Well between using wireshark and looking at the source code for nmap (isn't open source grand), I'm sure you should be able to figure something out.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 05-13-2009, 12:57 PM
  2. registry key for getting active network interface name
    By mind@work in forum C Programming
    Replies: 2
    Last Post: 11-28-2007, 04:49 AM
  3. limiting the bandwidth of computers on my network
    By Xterria in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 07-14-2004, 05:58 PM
  4. Getting HOSTnames/IPs of all computers in same Network neighbourhood??
    By hanhao in forum Networking/Device Communication
    Replies: 1
    Last Post: 03-28-2004, 02:36 PM
  5. network 2 computers
    By actionbasti in forum Networking/Device Communication
    Replies: 2
    Last Post: 11-10-2003, 09:57 AM