Skip to content

Python-based TCP Chat Room with Socket and GUI (PySimpleGUI).

Notifications You must be signed in to change notification settings

YohanV1/TCPChatRoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TCP Socket Chat Room

This is a simple chat application built using Python's socket library. It allows multiple clients to connect to a server and send messages to each other.

Getting Started

Prerequisites

To run this application, you will need:

  • Python 3.x
  • PySimpleGUI (can be installed using pip)

Installation

  1. Clone this repository:
git clone https://github.com/YohanV1/TCPChatRoom.git
  1. Install PySimpleGUI:
pip install PySimpleGUI

Usage

  1. Start the server by running server.py:
python server.py
  1. Clients can connect to the server by running client.py:
python client.py
  1. Type in a nickname and start sending messages to other clients.
  2. To stop the server, press the "Stop" button on the server GUI or press Ctrl + C in the terminal.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

⭐ this repository if you find it useful!

About

Python-based TCP Chat Room with Socket and GUI (PySimpleGUI).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages