Skip to content

WasifArmanHaque/python-chat-room

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Chat Room in Python

A simple chat server written in python demonstrating the use python networking capabilities.

Requirements

python 2.7

Description

Repo contains two python scripts server.py and client.py. The server script contains code for accepting client connections and broadcasting messages to all connected clients.

The server script contains code for accepting client connections and broadcasting messages to all client code.

The client script contains code for connecting with server and sending messages.

How to run

  1. Clone the repo.
  2. Navigate to the python-chat-room folder by typing cd python-chat-room in terminal.
  3. Run ./server.py to start a server instance.
  4. Run ./client.py localhost 9009 from multiple terminals to emulate multiple clients`
  5. Send messages between clients.

About

A simple server client communication demo in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages