Skip to content

Gojibodev/python-socket-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chat Application

This is a simple chat application that allows multiple clients to connect to a server and chat with each other. It uses sockets and threading technology to allow clients to interact with each other

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Python 3.x
  • tkinter (if you want the GUI version)

Installing

  • Clone the repository:

git clone https://github.com/<Gojimandev/>/python-socket-chat.git

Running the server

To run the server, navigate to the root of the project in the command prompt and run the following command:

python server.py

Running the client

To run the client, navigate to the root of the project in the command prompt and run the following command:

python client.py

Usage

  • When the client is launched, it prompts the user to enter a username.
  • Once a username is entered and set, the user can start sending messages to the server, which will then be broadcasted to all connected clients.
  • User can also receive messages from other clients.

Built With

  • Python - The programming language used
  • socketserver - The built-in Python library used for the server
  • socket - The built-in Python library used for the client
  • tkinter - The built-in Python library used for the GUI

Authors

License

This project is licensed under the MIT License

Acknowledgments

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages