Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dan-da/qp2p_experiments
https://github.com/dan-da/qp2p_experiments
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dan-da/qp2p_experiments
- Owner: dan-da
- License: bsd-3-clause
- Created: 2021-02-01T20:31:50.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-05T02:05:37.000Z (almost 4 years ago)
- Last Synced: 2024-04-16T22:29:25.056Z (9 months ago)
- Language: Rust
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-BSD
Awesome Lists containing this project
README
# qp2p_experiments
## About
These are some simple experiments and test cases using the [qp2p](https://github.com/maidsafe/qp2p) library.
## Usage
### node_bi
node A
```
$ cargo run --bin node_bi create
Process running at: 127.0.0.1:51408
Waiting for connections
```node B
```
$ cargo run --bin node_bi connect 127.0.0.1:51408
```### node_uni
note: These nodes will exchange packets for a while but eventually halt without any error, due to unknown issue/bug.
node A
```
$ cargo run --bin node_bi create
Listening for messages on 127.0.0.1:10000
```node B
```
$ cargo run --bin node_bi
```### node_uni_alt
note: This code will error out immediately due to [issue 205](https://github.com/maidsafe/qp2p/issues/205).
node A
```
$ cargo run --bin node_bi create
Listening for messages on 127.0.0.1:10000
```node B
```
$ cargo run --bin node_bi
```