When you ping an address, is random garbage sent out? Thanks !
When you ping an address, is random garbage sent out? Thanks !
Do not make direct eye contact with me.
Depending on which program you're using, yes.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
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 - .
Do not make direct eye contact with me.
Hmm - sorry to ask, but what exactly is time to live??
Do not make direct eye contact with me.
How many milliseconds that ping will wait for the packet to come back before sending the next packet.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
Right - thanks .
Do not make direct eye contact with me.
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.
Help populate a c/c++ help irc channel
server: irc://irc.efnet.net
channel: #c
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.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
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]