mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-18 01:05:28 +00:00
15 lines
275 B
Rust
15 lines
275 B
Rust
extern crate futures;
|
|
extern crate quinn;
|
|
|
|
use futures::Future;
|
|
|
|
use std::env;
|
|
|
|
fn main() {
|
|
let server = env::args().nth(1).expect("need server name as an argument");
|
|
println!(
|
|
"RESULT: {:?}",
|
|
quinn::QuicStream::connect(&server, 4433).wait()
|
|
);
|
|
}
|