Re: sending and receiving raw ethernet packet to/from embedded system
- From: Jean Tabel <jean.tabel@xxxxxxxxxxxx>
- Date: Fri, 30 Dec 2005 21:32:02 -0500
Since you mentioned MSDN, I am assuming you are working in a win32 environment,although I am somewhat confused by your "...to/from
embedded system."
You can use winpcap for this purpose (this is a windows port of the famous libpcap library):
http://www.winpcap.org/
You will need the developer's pack in order to get header files and libraries.
You will find an example here: http://www.winpcap.org/docs/docs31/html/group__wpcap__tut8.html
I have read there were some limitations with this port, but this should not be an issue
in your case.
If you are happy with winpcap, please take some time reading the original paper written by Van Jacobson and Steven McCanne:
ftp://ftp.ee.lbl.gov/papers/bpf-usenix93.ps.Z
The original package for Unixes is available here: http://www.tcpdump.org/
Jean Tabel
balajiyalam@xxxxxxxxx wrote:
Hi,
I am unable to find a function in MSDN which can send a raw ethernet packet to embedded system [ board ]. I used Send , SendTo , ReceiveFrom methods. which are able to send ICMP request only.
I need to implement GUI through which I have to send and receive raw ethernet packets to / from board. So, kindly send me the solution.
Please anybody knows about it , help me.
.
- References:
- sending and receiving raw ethernet packet to/from embedded system
- From: balajiyalam
- sending and receiving raw ethernet packet to/from embedded system
- Prev by Date: Re: Book reference
- Next by Date: Re: Where can I find an Embedded Developer?
- Previous by thread: sending and receiving raw ethernet packet to/from embedded system
- Next by thread: Re: sending and receiving raw ethernet packet to/from embedded system
- Index(es):
Relevant Pages
|