Open ivandardi opened 6 years ago
Over the network through what though?
You could be using a tun or tap interface, or something like netmap, or through a network device already in use?
Like, let's say I build an IPv4 packet. I wish to send it to another address. How would I do that? Do I have to turn it into bytes and send it over a std::net::TcpStream
or something like that?
You need a raw socket in that case.
I created a packet. Now how do I actually send it over the network?