rust sdk links
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
This example starts off several Tcp connections on a loop to a remote endpoint: in this case the `TcpListener` behind the `NymProxyServer` instance on the echo server found in
|
||||
[`nym/tools/echo-server/`](https://github.com/nymtech/nym/tree/develop/tools/echo-server). It pipes a few messages to it, logs the replies, and keeps track of the number of replies received per connection.
|
||||
|
||||
> You can find this code [here](https://github.com/nymtech/nym/blob/develop/sdk/rust/nym-sdk/examples/tcp_proxy_multistream.rs)
|
||||
|
||||
```rust
|
||||
use nym_sdk::mixnet::Recipient;
|
||||
use nym_sdk::tcp_proxy;
|
||||
|
||||
@@ -6,6 +6,8 @@ This is a basic example which opens a single TCP connection and writes a bunch o
|
||||
|
||||
For a more irl example check the [multi connection example](./multiconn).
|
||||
|
||||
> You can find this code [here](https://github.com/nymtech/nym/blob/develop/sdk/rust/nym-sdk/examples/tcp_proxy_single_connection.rs)
|
||||
|
||||
```rust
|
||||
use nym_sdk::tcp_proxy;
|
||||
use rand::rngs::SmallRng;
|
||||
|
||||
Reference in New Issue
Block a user