• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: The methods to receive/send ethernet raw packet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >The methods to receive/send ethernet raw packet (From: "Chen-Hai Teng" <email@hidden>)

  • Prev by Date: The methods to receive/send ethernet raw packet
  • Next by Date: Re: The methods to receive/send ethernet raw packet
  • Previous by thread: The methods to receive/send ethernet raw packet
  • Next by thread: Re: The methods to receive/send ethernet raw packet
  • Index(es):
    • Date
    • Thread