Scripts server.py and client.py are runnable.
python3.8 [client.py|server.py] --port <PORT> [--ec]client.pyorserver.py: To run server or client side script.--port <PORT>or-p <PORT>: Specifies the port number (required).--ec: Enables ECDH mode. If omitted, the DH mode is used.
Example usage:
python3.8 server.py --port 25565 --ec
python3.8 client.py --port 25565 --ecMakefile can be also used to run with Makefile predefined port:
make server
make client
or
make server EC=1
make client EC=1