Pike v8.1 release 6

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)