A command-line socket program written in Python.
- One server handling multiple clients
- No blocking for sending or receiving messages
- Retrieves host IP address with
get_ip.py
script - Uses Python's built-in
socket
andthreading
modules - Uses a Python dictionary to manage active client connections (socket, IP, port)
python3 server.py
python3 client.py