• Welcome to Valhalla Legends Archive.
 

Question About Winsock and Protocols/Packet Sending

Started by Dyndrilliac, April 11, 2004, 02:07 AM

Previous topic - Next topic

Dyndrilliac

How would I go about sending packets in the ICMP Protocol via Winsock Control? Or is this even possible.
Quote from: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.

K

you will notice that the Winsock control's "Protocol" property only supports UDP and TCP.  ICMP is a much lower level protocol than TCP and is built primarily "into" the IP protocol.

Check http://www.faqs.org/rfcs/rfc792.html

Tuberload

Maybe you should look into the Winsock API. I don't know much about them, but they might help.
Quote"Pray not for lighter burdens, but for stronger backs." -- Teddy Roosevelt
"Your forefathers have given you freedom, so good luck, see you around, hope you make it" -- Unknown