Skip to content

viet03197/P2P_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

P2P_test

Simple P2P system in python

TODO

  • Basic concept (connection, broadcast...)
  • Port management
  • Puzzle
  • Work
  • Data structure
  • Command Exchange
  • Comment the code

Libraries used:

  • socket for socket use
  • sys for input from the command line

Example:

  • Create first node: python node.py 8000
  • Create new node connecting to 8000: python node.py r 8000
  • Use of wallet
    • Consult connected peers: python wallet.py consult 8000 python wallet.py consult 8001
    • Broadcast messages: python wallet.py chat 8000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages