|
-
April 15th, 2003, 11:00 AM
#1
simulating "ping" command pls help ??
Hello friends i want to write my own program which simulates "ping" command... but i was wondering how to start can anybody give me some hints like where will i find some info on how to go about it ???
pls help.
intruder
A laptop, internet connection and beer.
-
April 15th, 2003, 11:37 AM
#2
I take it by 'simulation' you mean one that actually pings, not just clever manipulation of strings. if this is the case, i suggest you read up on ICMP. Also, what language are you using? make sure you know how to correctly use sockets and send ICMP packets in your selected language.
-
April 15th, 2003, 12:43 PM
#3
www.planetsourcecode.com
has a few implementation of the ICMP protocol?
i know of one in C++ for raw sockets, and another
in Visual Basic (if win32) for ICMP using Winsock...
just goto planetsourcecode.com and search for ->
"ping icmp raw sockets" ... that should point you
in the general direction
yeah, I\'m gonna need that by friday...

-
April 16th, 2003, 06:32 AM
#4
I am using C on UNIX and i also know socket programming but i don't know how exactly to go about it..
is there any structure in C for the ICMP protocol ??
A laptop, internet connection and beer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|