KusaReMKN / python_echo

TCP based ECHO server and client written in Python3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python_echo

TCP based ECHO server and client written in Python3

How to run

Server

Usage:

$ ./server.py port

For example, to listen on port 12345:

$ ./server.py 12345

Client

Usage:

$ ./client.py host port message [...]

For example, to send the message Hello to port 12345 on localhost:

$ ./client.py localhost 12345 Hello

Another example, to send the message X Y Z to port 23456 on 192.0.2.1:

$ ./client.py 192.0.2.1 23456 X Y Z

License

MIT

About

TCP based ECHO server and client written in Python3

License:MIT License


Languages

Language:Python 100.0%