Pike v8.0 release 1738

Method Protocols.Ports.port()


Method port

int port(string name)

Description

Return the first port registered for the specified name (the lowest numbered tcp port, or if there is no tcp ports, the lowest numbered udp port)