blob: 75329f392aa511ed921de4e627b7d4cd9c94d404 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);
}
|