pub const fn p2p_port(setting: DefaultOrCustom<u16>, network: Network) -> u16
Gets the port to listen on for p2p connections.