Function tipc::set_host_addr[][src]

pub fn set_host_addr(addr: String) -> Result<Output, Error>

Set the host addr, can be omitted starting from Linux 4.17.

Example

set_host_addr("1.1.1".to_string()).unwrap();