Skip to main content

open_ip

Function open_ip 

Source
pub fn open_ip(
    addr: SocketAddr,
    timestamping: GeneralTimestampMode,
    reuse_addr: bool,
) -> Result<Socket<SocketAddr, Open>>
Expand description

Open a socket listening to a given ip address.

ยงErrors

May error if the requested timestamp mode is not possible, or if the requested addres is unavailable.