Peer to peer chat application written in C for CS 3251