Skip to content

Messaging over socket connections with Python

Notifications You must be signed in to change notification settings

Danucas/sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sockets messaging

Flask server to route sockets connections and Simple client sockets for messaging services

Requirements

  • Flask
  • pyaudio
  • requests

Screenshots

Run Flask server

$ ./app.py

Client install

$ ./install

cd to client and type

./chat.py
User not found
Please type a new Username: Danucas
Welcome!!  Danucas
To quit type '-logout'
---------------------
Select any option
---------------------
	0-Create a chatroom
	1-Join an existing chatroom
	2-Delete user
(default 0): 0
	Chat room created
	(Id): rbT38UdjCo2kzH0n
	Share this id with yours peers
connected to rbT38UdjCo2kzH0n
________________________________
Danucas > 

share the room Id: rbT38UdjCo2kzH0n and start talking via socket connection

Contribute

To add new features just fork this repo and ask for a PR, also please send me an email commenting about your experience with socket communication, we can build a community and bring great solutions for this.

Authors

Portfolio Project

Data in motion

About

Messaging over socket connections with Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published