All Projects → kanakkabara → P2P-Chat

kanakkabara / P2P-Chat

Licence: other
A Peer-to-Peer chatting application created in Python.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to P2P-Chat

ChatRoom
聊天室
Stars: ✭ 30 (+50%)
Mutual labels:  chat-room
node-chat
A demo of using socket.io + backbone.js to create a simple chatroom service.
Stars: ✭ 43 (+115%)
Mutual labels:  chat-room
forum live-tangshan
django后台,移动app,功能有登录,支付、充值,礼物贴现申请,直播,论坛,好友,地区选择功能。
Stars: ✭ 38 (+90%)
Mutual labels:  chat-room
Vesta
Vesta is a simple decentralized p2p chat group using ruby.
Stars: ✭ 44 (+120%)
Mutual labels:  p2p-chat
django-chat-room
chat-room 💬 use django-channels3
Stars: ✭ 50 (+150%)
Mutual labels:  chat-room
ChatServerTCP
保密型聊天软件服务器 /Private Chat Server
Stars: ✭ 14 (-30%)
Mutual labels:  chat-room
OakBot
A Java-based chat bot for Stackoverflow Chat
Stars: ✭ 37 (+85%)
Mutual labels:  chat-room
peer-cdn
Lightweight library providing peer to peer CDN functionality
Stars: ✭ 57 (+185%)
Mutual labels:  peer
LAN-Messenger
Official open-source repository for LAN Messenger
Stars: ✭ 17 (-15%)
Mutual labels:  chat-room
school21
Как подготовиться к бассйну Школы 21: изучаем терминал, vim, работаем с gcc, norminette, git, пишем первую программу на Си.
Stars: ✭ 41 (+105%)
Mutual labels:  peer
peer-data
Library for files, media streaming/sharing using WebRTC
Stars: ✭ 65 (+225%)
Mutual labels:  peer
BeechatNetwork
Open source, peer-to-peer, radio communication messaging.
Stars: ✭ 37 (+85%)
Mutual labels:  peer
ReaLocate
ASP.NET MVC 5 Real Estate Application
Stars: ✭ 18 (-10%)
Mutual labels:  chat-room
Bee-Connect
Ruby on Rails App. A good example of how to build social networking system with live chat support, blogging,groups etc.
Stars: ✭ 30 (+50%)
Mutual labels:  chat-room
jami-overlay
Jami (formerly Ring (formerly SFLphone)) is a SIP compatible softphone for GNU/Linux.
Stars: ✭ 22 (+10%)
Mutual labels:  p2p-chat
Megacoin
Welcome to Megacoin MΣC - Around the World!
Stars: ✭ 16 (-20%)
Mutual labels:  peer
2nfm
Share your screen and computer's audio via WebRTC!
Stars: ✭ 29 (+45%)
Mutual labels:  peer
darkwire-client
Encrypted web socket chat - Darkwire.io client
Stars: ✭ 23 (+15%)
Mutual labels:  chat-room
minitox
Minimal client for Tox
Stars: ✭ 65 (+225%)
Mutual labels:  p2p-chat
awesome-alternatives
A list of alternative websites/software to popular proprietary services.
Stars: ✭ 123 (+515%)
Mutual labels:  peer

P2P-Chat

A Peer-to-Peer chatting application created in Python as part of the COMP3234 - Computer and Communication Networks course in HKU.

Server

The room server keeps track of the chat rooms available, and the clients in each room. Each P2P client must regularly contact the room server to maintain the connection established initially (client must ping server every 20s to stay alive, or client will be disconnected).

Client

Each client acts as both a server (to other P2P clients for distributing messages along the network), and a client (receiver of messages from other P2P clients). Once a client is registered on the room server, it starts to look for a peer in the chat room it is in currently. Once it finds a suitable peer, it initiates a P2P Handshake. If accepted by the peer, both P2P clients are able to communicate with each other using Sockets.


  • Uses a new protocol created on top of TCP to demostrate creation and use of protocols.
  • Uses sockets for bidirectional communication.
  • Uses threading to manage multiple peers on each P2P client.
  • Uses a concept called flooding to distribute messages along the network.
  • Has logic to maintain integrity of network in case a peer leaves in order to maintain upkeep of Overlay network
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].