Simple Window-based Reliable Data Transfer in C/C++