Instance Method

publishWithOptions:

Attempts to advertise the receiver on the network, with the given options.

Declaration

- (void)publishWithOptions:(NSNetServiceOptions)options;

Parameters

serviceOptions

Options for the receiver. The supported options are described in NSNetServiceOptions.

Discussion

This method returns immediately, with success or failure indicated by the callbacks to the delegate.

See Also

Using Network Services

- publish

Attempts to advertise the receiver’s on the network.

- resolve

Starts a resolve process for the service.

Deprecated
- resolveWithTimeout:

Starts a resolve process of a finite duration for the service.

port

The port on which the service is listening for connections.

- startMonitoring

Starts the monitoring of TXT-record updates for the receiver.

- stop

Halts a currently running attempt to publish or resolve a service.

- stopMonitoring

Stops the monitoring of TXT-record updates for the receiver.