Re: capturing ethernet frames
From: Andrei Voropaev (avorop_at_mail.ru)
Date: 10/28/04
- Previous message: yfh2: "how to tell 'automake' to use MOC ?"
- In reply to: Tom Brown: "capturing ethernet frames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Oct 2004 08:46:06 GMT
On 2004-10-26, Tom Brown <brown@esteem.com> wrote:
> I can send raw ethernet frames by calling socket(), then bind() then
> calling send() with my frame as the data. My frame is a broadcast
> packet with some data. Now I want to turn around and capture packets
> off of eth0. I want to sniff for particular packets that are responses
> to my broadcast packet. If I call recv() right after my send() it will
> just hang. So what do I need to do to capture packets?
Try man 7 packet. Maybe that's what you need
Andrei
- Previous message: yfh2: "how to tell 'automake' to use MOC ?"
- In reply to: Tom Brown: "capturing ethernet frames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|