Skip to main content

check

Function check 

Source
pub fn check(
    ip: IpAddr,
    port: u16,
    own_ports: &[u16],
) -> Result<(), &'static str>
Expand description

Whether a page may connect to ip on port; the reason in words when it may not. own_ports are this server’s own listening ports.