Function mproxy_server::listener

source ·
pub fn listener(addr: String, logfile: PathBuf, tee: bool) -> JoinHandle<()>
Expand description

Server UDP socket listener. Binds to UDP socket address addr, and logs input to logfile. Can optionally copy input to stdout if tee is true. logfile may be a filepath, file descriptor/handle, etc.