Skip to main content

tcp

Function tcp 

Source
pub fn tcp(addr: SocketAddr, name: Option<&str>) -> Option<TcpListener>
Expand description

A copy of the TCP listener systemd passed for addr (or named name), if any. Each call is a new descriptor of the same socket, so several runtimes can accept on it.