File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,17 @@ docker run -p 6379:6379 -it redis:latest
9
9
## Listener
10
10
11
11
``` bash
12
- transport=tcp ip=0 .0.0.0 is_dialer=false redis_addr=6379 test_timeout_seconds=180 security=insecure muxer=mplex python3 native_ping.py
12
+ transport=tcp ip=127 .0.0.1 redis_addr=6379 port=8001 test_timeout_seconds=180 security=noise muxer=yamux is_dialer=false python3 native_ping.py
13
13
```
14
14
15
15
## Dialer
16
16
17
17
``` bash
18
- transport=tcp ip=0.0.0.0 is_dialer=true port=8001 redis_addr=6379 port=8001 test_timeout_seconds=180 security=insecure muxer=mplex python3 native_ping.py
18
+ transport=tcp ip=127.0.0.1 redis_addr=6379 port=8001 test_timeout_seconds=180 security=noise muxer=yamux is_dialer=true python3 native_ping.py
19
+ ```
20
+
21
+ ## From the Rust-side (Listener)
22
+
23
+ ``` bash
24
+ RUST_LOG=debug redis_addr=localhost:6379 ip=" 0.0.0.0" transport=tcp security=noise muxer=yamux is_dialer=" false" cargo run --bin native_ping
19
25
```
You can’t perform that action at this time.
0 commit comments