Let's start with a basic example, establishing a TCP connection.</p>

<pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">tokio</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">tokio</span>::<span class="ident">net</span>::<span class="ident">TcpStream</span>;

<span class="kw">let</span> <span class="ident">addr</span> <span class="op">=</span> <span class="string">&quot;93.184.216.34:9243&quot;</sp