class Service

Stores information about a network service

Description

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").

class contents [NB. Highlighted attributes are static members]
Variables
variable aliases - The alternative names the service can be identified.
variable name - The name of the service.
variable port - The port the service binds to.
variable proto - The protocol uses.

Variables

array aliases Click to go up to the list
The alternative names the service can be identified.

string name Click to go up to the list
The name of the service.

number port Click to go up to the list
The port the service binds to.

string proto Click to go up to the list
The protocol uses.

Automatically generated at 12:07PM, Wednesday 25 May 2005 by feritedoc.