Skip to content

ghf20/python_tcp_client_and_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Commandline application for TCP protocol using the python socket module

Instructions:

  1. Open server.py in the commandline with the following command:

    python3 server.py <valid_port_number>

    Note: Port number must be between 1024 and 64000 inclusive

  2. Open client.py in the commandline with the following command:

    python3 client.py <valid_ip_address> <valid_port_number> <file_to_transfer>

    Note: IP address must be Ipv4 Port number must match open port on server file must not exist in local directory

Edits will need to be made to use the client and server on separate instances although it possible with a few tweaks.

Built for a specific set of parameters with corresponding error messages for university assignment

About

TCP Python socket program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published