Results 1 to 2 of 2
I was wondering if you could tell me how you are writing to eth0 using write(). I'm trying to do something similar and haven't been able to find how to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-30-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 1
how you are writing to eth0 using write()
I was wondering if you could tell me how you are writing to eth0 using write(). I'm trying to do something similar and haven't been able to find how to do so.
Thanks.
- 07-31-2010 #2
Typically, you don't use the bare device that way. You use sockets to communicate with ethernet. If you want to send non-IP packets, you can open a socket using SOCK_RAW protocol. This requires root privileges.
--- rod.Stuff happens. Then stays happened.


Reply With Quote
