Ping sweep

Ambitious contributor
6Mar2010,16:18   #1
en_7123's Avatar
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.
Light Poster
6Mar2010,17:11   #2
lipun4u's Avatar
on which platform windows or linux ??
Ambitious contributor
6Mar2010,17:15   #3
en_7123's Avatar
Quote:
Originally Posted by lipun4u View Post
on which platform windows or linux ??
I'm using Linux(fedora)
Mentor
8Mar2010,04:08   #4
xpi0t0s's Avatar
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.