Stores information about a network service
Instances of this class are returned by the Network.getServiceByPort() and Network.getServiceByName() functions. It contains the following variables: name - a string containing the name of the service; aliases - an array of strings specifying alternate names for the service (may be empty); port - the port number in host byte order; proto - a string specifying the protocol (usually "tcp" or "udp").
|