I need to build a bridge between two networks. The layer 2 data in the network 1 must be copy in the network 2 (sending it via a UDP radio link). I will try to:
- Read layer 2 using a boost raw socket.
- Send it using a UDP connection.
- Receive it using a UDP connection.
- Write the "layer 2 data" using a boost raw socket.
It's possible to do it using boost raw sockets? Anyone have some example code? I'm a bit lost.