Simple File Sharing implemented in C++/Posix