Instance methods aliases Answers an OrderedCollection (collection of strings) of alternate name for the service. name Answers the string representing the official name of the service. port Answers the port number at which the service is located. The port number is in host order. protocol Answers the name of the protocol to be used for the service.