Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any example ? #11

Closed
LuoZijun opened this issue Nov 13, 2017 · 1 comment
Closed

any example ? #11

LuoZijun opened this issue Nov 13, 2017 · 1 comment

Comments

@LuoZijun
Copy link

thanks for you work, i got some question:

how can i use socket2-rs send one raw packet(IP Packet or Ethernet Frame) to net interface device ?

@alexcrichton
Copy link
Member

Thanks for the report! I'd love to add an example of this to the crate, but for now you'll have to consult other documentation. This in general should line up with libc so a C example should be relatively easy to translate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants