When testing some functions of receiving network device drivers, I need to send special packets to the wire. I know that I need to open a raw socket and push out bytes. Is there any known example (C, perl, any) of code already available for playback at this level?
(added later) I would prefer non-platform answers, they will be most useful for everyone.
source
share