1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ping sweep

Discussion in 'C' started by en_7123, Mar 6, 2010.

  1. en_7123

    en_7123 New Member

    Joined:
    Feb 11, 2010
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    0
    Does any one know a link for code in c to do a ping sweep in which you could say give the start Ip and end ip on a lan.
    for e.g START I/P 10.225.225.1
    end I/P 10.225.225.20
    The program performs a ping on all the machines and returns with IP of those from which it got a reply.Going through previous posts I can see some one was working on it but no code was there.If any one has a link.
     
  2. lipun4u

    lipun4u New Member

    Joined:
    Jan 25, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Software Engineer
    Location:
    Mumbai
    Home Page:
    on which platform windows or linux ??
     
  3. en_7123

    en_7123 New Member

    Joined:
    Feb 11, 2010
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    0
    I'm using Linux(fedora)
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    With over 4 billion possible email addresses such a program would take forever to execute. The TCP/IP designers already thought of that; lookup BROADCAST messages.
     

Share This Page