This is a simple client-server application built using Python and sockets. The application allows clients to connect to a server and exchange messages with each other.
- Python 3.7 or higher
- Clone the repository:
git clone https://github.com/alexSmkh/client-server.git
- Navigate to the client-server directory:
cd client-server
- Run the server:
python server.py
- In a separate terminal, run the client:
python client.py
-
Choose a nickname for the client when prompted.
-
Exchange messages with other connected clients.
To gracefully exit the chat, type the exit command: :q
.