This Python script allows you to run a simple server-client communication over a local network using sockets. The script can act as both a server and a client, and the role is determined by command-line arguments.
-
Clone the repository:
git clone https://github.com/hansajasandeepabadalge/ChatApp-Server-Client-Combined.git
-
Navigate to the project directory:
cd ChatApp-Server-Client-Combined
-
Run the script as a server:
python script.py server
-
Run the script as a client:
python script.py client
- Server Mode: Run the script as a server to listen for incoming client connections.
- Client Mode: Run the script as a client to connect to a server.
- Python 3.x
This project is licensed under the MIT License.