Re: The methods to receive/send ethernet raw packet
Re: The methods to receive/send ethernet raw packet
- Subject: Re: The methods to receive/send ethernet raw packet
- From: Quinn <email@hidden>
- Date: Thu, 6 Dec 2007 09:28:41 +0000
At 15:58 +0800 6/12/07, Chen-Hai Teng wrote:
Although I can receive/send ethernet raw packet now, I still want to
know if there is an Apple API -- such as Cocoa or IOKit -- can do
the same at the user space.
Have you looked at BSDLLCTest?
<http://developer.apple.com/samplecode/BSDLLCTest/index.html>
This shows how to send and receive the raw Ethernet packets. While
the code is currently wrapped in a Carbon shell, there's nothing
particularly Carbon-specific about the underlying APIs; you can call
them from any flavour of app.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden