A simple peer to peer file transfer protocol using C