aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.rs')
-rw-r--r--src/client.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/client.rs b/src/client.rs
new file mode 100644
index 0000000..75329f3
--- /dev/null
+++ b/src/client.rs
@@ -0,0 +1,16 @@
+
+extern crate utp;
+
+use std::str;
+use std::env;
+use std::process::exit;
+use getopts::Options;
+use utp::{UtpSocket, UtpListener};
+
+pub fn run_client(host: &str, local_file: &str, remote_file: &str, is_recv: bool) {
+ println!("host: {}", host);
+ println!("local_file: {}", local_file);
+ println!("remote_file: {}", remote_file);
+ println!("is_recv: {}", is_recv);
+}
+