Fault tolerant distributed chat client written in C++