When you ping an address, is random garbage sent out? Thanks :D !
Printable View
When you ping an address, is random garbage sent out? Thanks :D !
Depending on which program you're using, yes.
the ping command which comes with winxp - never used it before, but for some reason i decided to try it out and right now I'm sending 5000 bytes of data to cprogramming.com - :D .
Hmm - sorry to ask, but what exactly is time to live??
How many milliseconds that ping will wait for the packet to come back before sending the next packet.
Right - thanks :D .
Hmm, it's been a while since I read about TCP/IP, but I guess Ping uses ICMP, one of the messages available from ICMP is a request for response, another one is the resopnse itself, so basically ping sends a request for response by ICMP, and waits for the response.
For more info, google for ICMP.
Yeah, I think that is right, I think I remember reading that ping is sending no data on the tcp stream (would have to mean in tcp wrapper then), just a special request, and what is sent back is the return special address.
Quote:
Originally posted by Lurker
Hmm - sorry to ask, but what exactly is time to live??
No, it ain't. It's the number of hops the packets will take before it is deemed to have expired in transit. It stops the packet getting stuck in an endless loop between two routers. If a router finds that a TTL has reached 0, it sends an ICMP message back to the source IP.Quote:
Originally posted by XSquared
How many milliseconds that ping will wait for the packet to come back before sending the next packet.
http://www.freesoft.org/CIE/RFC/1812/110.htm