How do I send raw ethernet packet

Generated on 8/1/2024

1 search

To send raw Ethernet packets, you would typically need to work at a low level with network interfaces, which is not directly covered in the provided WWDC sessions. However, if you are interested in network programming and related topics, you might find the following sessions useful:

  1. What’s new in privacy: This session discusses upgraded platform protections, including private Wi-Fi controls and MAC address rotation, which are relevant to network security and privacy.

  2. Go small with Embedded Swift: This session covers using Swift for embedded systems, including programming devices over USB and controlling hardware components, which might be useful if you are working with network hardware at a low level.

  3. What’s new in Swift: This session includes information on cross-compilation to Linux, which could be relevant if you are developing network applications that need to run on different platforms.

If you need to send raw Ethernet packets specifically, you would typically use a lower-level language like C or C++ and work with platform-specific APIs or libraries such as libpcap on Unix-like systems. Swift can interoperate with C libraries, so you might be able to use Swift for some parts of your project while leveraging C libraries for the low-level network operations. For more details on Swift's interoperability with C, you can refer to the session on C++ interoperability.