diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-05-27 20:13:41 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-05-27 20:14:10 -0400 |
commit | 0814e7f2a1dd1ed6c6b9a6133f6920194630bb75 (patch) | |
tree | 81253b14329b23cbc16019dfaf9dbb1846cfdda4 /src/client.rs | |
parent | 22043b299c0b2abf2c552b177f32a9ce6654be3b (diff) | |
download | ucp-0814e7f2a1dd1ed6c6b9a6133f6920194630bb75.tar.gz ucp-0814e7f2a1dd1ed6c6b9a6133f6920194630bb75.zip |
refactor file layout *again*
Diffstat (limited to 'src/client.rs')
-rw-r--r-- | src/client.rs | 16 |
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); +} + |