Data communications library
Flexiport provides a consistent interface for communicating over a range of data port types. Currently serial (including serial-over-USB), TCP and UDP ports are supported. Logging is possible, which allows communications sessions to be played back at a later date without the original hardware present.
The SerialPort, TCPPort and UDPPort port types are cross-platform, usable on Linux, Mac OS X and Microsoft Windows. If this library is compiled as static on Windows, you must define the FLEXIPORT_STATIC preprocessor variable when compiling code that includes port.h, flexiport.h or timeout.h.