A server-client model for sharing file over TCP implemented using socket.
Run the server.py
and client.py
in two different directories to avoid filename conflict.
$ python server.py <send|recv> <file name>
$ python client.py <send|recv> <file name>
$ python server.py recv <file name>
$ python client.py send <file name>
$ python server.py send <file name>
$ python client.py recv <file name>
- Handling multiple clients
- Handling multiple servers