- Notifications
You must be signed in to change notification settings - Fork36
A simple chat server and client project implemented using Python and socket programming
License
Shikha-code36/ChatServer_with_Socket_Python
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a simple chat server and client project implemented using Python and socket programming. The server can handle multiple client connections concurrently, allowing them to exchange messages with each other.
- Basic chat functionality: Clients can send messages to the server, and the server will broadcast the received messages to all connected clients.
- Concurrent connections: The server uses threading to handle multiple client connections concurrently.
- Local testing: The chat server and client are designed to be tested locally on your machine.
- Python 3.x
- First, clone this repository to your local machine using the following command:
git clone https://github.com/Shikha-code36/ChatServer_with_Socket_Python.git
Open a terminal window and navigate to the project directory.
Run the server script:
python server.py
Open another terminal window and navigate to the project directory.
Run the client script:
python client.py
The client will prompt you to enter your message. Type your message and press Enter to send it to the server. The server will respond with a confirmation message.
You can run multiple instances of the client script in separate terminal windows to simulate multiple clients connecting to the server.
This project is licensed under theMIT License.
This project is a basic implementation of a chat server and client for educational purposes. It may not be suitable for production use. Use it at your own risk.
Contributions to this project are welcome. If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
About
A simple chat server and client project implemented using Python and socket programming
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.