free_port

Function free_port 

Source
pub fn free_port() -> Result<u16>
Expand description

2026-09-26: An OS-assigned port, released on return, for a caller that binds it soon after (the self-started gate server in the server crate’s bench_selfstart and bench_lease). The scorer holds its port through the build with reserve_port instead.