pub fn bind_common_with_config(
ip_addr: IpAddr,
port: u16,
config: SocketConfig,
) -> Result<(UdpSocket, TcpListener)>
Expand description
binds both a UdpSocket and a TcpListener on the same port
pub fn bind_common_with_config(
ip_addr: IpAddr,
port: u16,
config: SocketConfig,
) -> Result<(UdpSocket, TcpListener)>
binds both a UdpSocket and a TcpListener on the same port