A p2p file sharing simulator written using multiple processes and c-sockets