Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 939 Bytes

README.md

File metadata and controls

42 lines (26 loc) · 939 Bytes

Python Server-Client Communication

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.

Usage

  1. Clone the repository:

    git clone https://github.com/hansajasandeepabadalge/ChatApp-Server-Client-Combined.git
  2. Navigate to the project directory:

    cd ChatApp-Server-Client-Combined
  3. Run the script as a server:

    python script.py server
  4. Run the script as a client:

    python script.py client

Features

  • 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.

Requirements

  • Python 3.x

License

This project is licensed under the MIT License.