Skip to Content Skip to Search

Well Known Service resource.

Methods
N

Constants

ClassValue = IN::ClassValue
 
TypeValue = 11
 

Attributes

[R] address

The host these services run on.

[R] bitmap

A bit map of enabled services on this host.

If protocol is 6 (TCP) then the 26th bit corresponds to the SMTP service (port 25). If this bit is set, then an SMTP server should be listening on TCP port 25; if zero, SMTP service is not supported.

[R] protocol

IP protocol number for these services.

Class Public methods

new(address, protocol, bitmap)

# File ruby/lib/resolv.rb, line 2603
def initialize(address, protocol, bitmap)
  @address = IPv4.create(address)
  @protocol = protocol
  @bitmap = bitmap
end