Use of IO::NativeHandle needs to be revised.
When IO::Handle is used, there are cases where IO::NativeHandle is not being used.
Example, currently SocketCAN defines m_can_socket as int (should be IO::NativeHandle).
srd/DUNE/Hardware/SocketCAN.hpp
In addition, current implementation focuses on POSIX and WINDOWS:
src/DUNE/IO/Handle.hpp
It should be defined what happens when the OS is neither POSIX nor Windows.
Use of IO::NativeHandle needs to be revised.
When IO::Handle is used, there are cases where IO::NativeHandle is not being used.
Example, currently SocketCAN defines m_can_socket as int (should be IO::NativeHandle).
srd/DUNE/Hardware/SocketCAN.hpp
In addition, current implementation focuses on POSIX and WINDOWS:
src/DUNE/IO/Handle.hpp
It should be defined what happens when the OS is neither POSIX nor Windows.