|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
You can do this with Socket programming in C.
Are you familiar with C programming? If you are not familiar with Socket programming, you may execute the "ping command" from within your C program and use the result in your program.
__________________
openSUSE 11.1 (x86_64) with KDE 4.3.0 (Release 158) on MacBook Pro |
|
|||
|
You might want to look at the fping utility, which can do multiple pings in parallel and also allows you to specify the range on the command line.
|
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Or nmap: nmap -sP 192.168.0.1-50 The equivalent for my network scanned my entire class C in three seconds (three hosts up, 251 down). Good luck. ken yap wrote: > You might want to look at the fping utility, which can do multiple pings > in parallel and also allows you to specify the range on the command > line. > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIcBAEBAgAGBQJKMly4AAoJEF+XTK08PnB5bbMP/iRTNhUjHlpq/414SV+Pw9cu mTlxmwXFiJ2ITPlcZsC8Vbt1gHv7lfxKiN+Xd68EiX30e7cQ6N mLScPvUyy1qjPy FSBm7d3wHvZjZ8gYNLguybNBNukS0/hrBXfvT+pJXTR5rUnXhb4Z2fJw4ffRZM02 VsJbNzEMiGAFefMbhZbOPznHVh6CMxCYzES6huHVUxum5LVeh3 m0dlK+F6wLia/8 4S7zl91aYD0dBLV8MGDyY4UTeubB5nRSzcSKp+/U0GZEaGz/bfboitrJ0/nqf6cw Kh7V+uybEVAJ7WWDcLUiuRfonj7Acpsa2ofyGd8ZrALc/X+qV42pxGuYUp2cj0qp qucMd8XcH/Sffvf9e/xc9jy6NLO5YD9Cp/ehS/NIH+dvG1u/FHIZ9V/pId0pJvDq NUwaGRUuG1fttWluESHSlLsN/p5FmQF5UZoN9YRGPNORjve2nk86DaGV4P7W/+mK xzMxLzVZ5EAtsLTqgJVpnUSZKyLioFzSZi3u6omNlfeALQu0Mg TvfPtF9CkfNPXm FHuPnSuCQCObwi5E5k2ahSlZmDcXEWP+H/ZWM3cLorXQqcgoQfh3FvUcTb34gNmw 896RExNyeVc5Iwn5OerxGJwvwewtG8YBzfmLrE7SkjHxVcAfuU zJu5T27jgBDQ+j DoZA+T+flUuklyKxwfX2 =VZZF -----END PGP SIGNATURE----- |
|
|||
|
you are kidding right??
|
|
|||
|
Kidding?
@tanmaya mentioned in his post that he wants to achieve the same stuff in C. I was responding to that. What is wrong with my response?
__________________
openSUSE 11.1 (x86_64) with KDE 4.3.0 (Release 158) on MacBook Pro |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|