Skip to content

sumitsindhu/Python-Socket-Multi-Client-Server-Communication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Python Socket-Based Multi-Client Server and Client Communication

This project demonstrates a simple multi-client server and client communication using Python's socket and threading libraries. It includes:

  • TCP Client: A client that connects to the server, sends messages, and displays messages received from the server.
  • TCP Server: A server that handles multiple clients, receives messages, and triggers events which are broadcasted to all connected clients.

Files

  • client.py: The client application.
  • server.py: The server application.

Requirements

  • Python 3.x

Running the Server and Client

Start the Server:

Run the server script (server.py):

python server.py

Run the client script (client.py):

python client.py

About

Simple Multi-Client TCP Client-Server Communication in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages