Initializes the receiver as a network service of type type at the socket location specified by domain, name, and port.
Original signature is '- (id)initWithDomain:(NSString *)domain type:(NSString *)type name:(NSString *)name port:(int)port'
Available in Mac OS X v10.2 and later.

Declaration Syntax

Parameters
- domain (NSString)
- The domain for the service. For the local domain, use @"local." not @"".
- type (NSString)
- The network service type.
- name (NSString)
- The name by which the service is identified to the network. The name must be unique.
- port (Int32)
- The port on which the service is published.

Return Value

Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)
Assembly:
Monobjc.Foundation (Module: Monobjc.Foundation)