I wrote a simple Windows program to detect if a serial break occurs in a specified port:
#include #include #define WINSERIA