We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 445aa35 + f0590be commit d596522Copy full SHA for d596522
iroh-net/src/lib.rs
@@ -4,7 +4,8 @@
4
//! interface to [QUIC] connections and streams to the user, while implementing direct
5
//! connectivity using [hole punching] complemented by relay servers under the hood.
6
//!
7
-//! Connecting to a remote node looks roughly like this:
+//! An iroh-net node is created and controlled by the [`Endpoint`], e.g. connecting to
8
+//! another node:
9
10
//! ```no_run
11
//! # use iroh_net::{Endpoint, NodeAddr};
@@ -18,7 +19,7 @@
18
19
//! # }
20
//! ```
21
-//! The other side can accept incoming connections like this:
22
+//! The other node can accept incoming connections using the [`Endpoint`] as well:
23
24
25
0 commit comments