SocketChat icon indicating copy to clipboard operation
SocketChat copied to clipboard

A chat-room implementation with multi-threads and socket programming in 200-lines pyhon

SocketChat

A simple chat-room implementation with 200-lines python.

Good start for multi-threads and socket programming in python

Feature

  • Public group chat
  • Private peer-to-peer chat

Demo

demo

Usage:

  1. Start Server
python server.py
  1. Start client(s)
python client.py

Note : pyqt4 is required to display the UI, you can use qt designer to re-design it and execute pyuic4 chat.ui -o chat.py to generate python file