KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
PeerBase
★ 23
Open GitHub ↗
http://cs.berry.edu/~nhamid/p2p
Download README (.md)
Explore Similar Repositories
text2sdg
:
Detect UN Sustainable Development Goals in Text
AIC2021_TPU_Template
:
Template for project1 TPU
my_CortexM3
:
No description available.
mybatis-mapper-reload-spring-boot-start
:
热更新 mybatis mapper xml spring boot start
project-management-dashboard
:
A reusable and customisable dashboard with HTML, CSS, JavaScript, and ChartJs.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
PeerBase
?
Download (.md)
# PeerBase For a **tutorial** see: http://cs.berry.edu/~nhamid/p2p Also: <br> Nadeem Abdul Hamid. 2007. **A lightweight framework for peer-to-peer programming.** *J. Comput. Sci. Coll.* 22, 5 (May 2007), 98–104. https://dl.acm.org/doi/10.5555/1229688.1229706 ## Java To run this Java application, from a working directory with the `src/peerbase` folder in the Java classpath, type ``` java -cp ... peerbase.sample.FileShareApp <my-port> <peer-port> ``` The peer node will be launched listening on `<my-port>` and will attempt to connect/register with a peer at `<peer-port>`. (Obviously the first peer created will not have a valid `<peer-port>` to connect to - just put anything.) Files will actually be transferred from one peer's working directory to another if they exist as named. ## Python (Written for Python 2.x.) To run the demo Python application: ``` python filergui.py 9001 10 localhost:9000 ``` In general, ``` filergui.py <server-port> <max-peers> <peer-ip>:<port> ```