#packet #networking #send-receive

cross-socket

cross-socket is a cross-platform library designed for working with RawSocket

8 breaking releases

0.8.0 Oct 15, 2023
0.6.0 Oct 15, 2023

#30 in #send-receive

35 downloads per month

MIT license

215KB
4.5K SLoC

cross-socket Crates.io License

cross-socket is a cross-platform library designed for working with RawSocket. Empowers you to create, send, and receive raw network packets.

Usage

Add cross-socket to your dependencies

[dependencies]
cross-socket = "0.8"

Example

See Examples

Supported platform

  • Linux
  • macOS
  • Windows

Feature flags

The following feature flags can be used to enable/disable specific features.

--feature setup (for Windows users)

For Windows. This feature allows you to easy check/setup dependencies.

Dependencies

~8–48MB
~747K SLoC