alexSmkh / client-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI Chat

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.

Requirements

  • Python 3.7 or higher

How to run

  1. Clone the repository:
git clone https://github.com/alexSmkh/client-server.git
  1. Navigate to the client-server directory:
cd client-server
  1. Run the server:
python server.py
  1. In a separate terminal, run the client:
python client.py
  1. Choose a nickname for the client when prompted.

  2. Exchange messages with other connected clients.

To gracefully exit the chat, type the exit command: :q.

About


Languages

Language:Python 100.0%