Skip to main content

resolve_port

Function resolve_port 

Source
pub fn resolve_port(host: &str) -> Option<u16>
Expand description

The port RESOLVE_PORTS gives host, if it gives one.

A zone’s entry covers everything under it, because a zone’s accounts are one listener; the most specific entry wins, matching ZoneRegistry’s own rule. Read once per process: this is a harness’s own wiring, fixed before anything it starts runs.