Skip to content
rohinlohePublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

TCP in Python: implementation notes

How to build and run the code

The command line will accept input of the form

python TCP.py [-l] [-p {port number}] [-H {hostname}] [-v]

The [-l] tag is for listening. It must be used along with the [-p] tag, which takes in a specific port number. The [-H] tag is to specify a hostname (for the client). Lastly, the [-v] tag runs the programs in verbose method, which means extra debugging information is printed.

In order to run the server, the following command can be used:

python TCP.py -l -p {port number} [-v]

In order to run the client, the following command can be used:

python TCP.py -p {port number} -H {hostname} [-v]

Example Run [Results]

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages