I was thinking of making use of Boost Asio to read data from a Socket CAN. There\'s nothing fancy going on in linux/can.h , and the device should behave like the loopback inter
The solution is to use posix::stream_descriptor.
posix::stream_descriptor
Just open the native socket, bind and then use posix::basic_stream_descriptor::assign.
posix::basic_stream_descriptor::assign