Skip to content

A small social media service made with UDP, created for my Computer Networks Class CSE434 at ASU

Notifications You must be signed in to change notification settings

dylan-reichelt/udp_socialmedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

udp_socialmedia

A small social media service made with UDP, created for my Computer Networks Class CSE434 at ASU. This was made to be a small Twitter like application. You are able to subscribe, login, etc.

Installation

Make sure to have my python_aes.py application setup. As this program uses that for encryption and decryption of the data sent back and forth between the server and the client (Instruction on how to install that in that readme).

You will also need sqlite for the database. The database should automatically be created when the server is started up.

On the server side simply cd to /server

python3 main.py

On the client side simply cd to /client

python3 main.py

Usage

Built in users and passwords (Users read from database, but they are hashed):

dylan&programmer, max&gamer, sina&backwoods, rob&friend, alex&loser

Commands for the client (server side is all handled on its own, there is nothing to interface with)

create#dylan&programmer
login#dylan&programmer
subscribe#max
unsubscribe#max
post#this is a post
retrieve#1
logout#

All the above command are things you can do once logged in.

Note: You can have multiple connections at a time, as well as get real time messages when online.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. This is for a class so there won't be too many changes once the assignment is done.

License

MIT

About

A small social media service made with UDP, created for my Computer Networks Class CSE434 at ASU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages