A peer-peer Chat server where the files are transferred in a chatroom between peers directly
-
- Go to /etc/hosts(on linux) and change your hostname, not the localhost to the ip given in on both client and server.
-
- Go to code directory and start the server.py.
- To start the client, start the client.py giving the ip address and port the server is running on.
server.py client.py --ip <server ip> --port <5000> -w <16> <username> create <name> @all|whohas|<filename> @<mentioned name>|getfile|<filename>