Deprecated NSNetService Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.4

protocolSpecificInformation

Returns protocol specific information for legacy ZeroConf-style clients. (Deprecated in OS X v10.4. Use TXTRecordData instead.)

- (NSString *)protocolSpecificInformation
Return Value

Any protocol-specific data associated with the service.

Discussion

This method is provided for legacy support of older ZeroConf-style clients and its use is discouraged.

Availability
  • Available in OS X v10.2 and later.
  • Deprecated in OS X v10.4.
Declared In
NSNetServices.h

resolve

Starts a resolve process for the receiver. (Deprecated in OS X v10.4. Use resolveWithTimeout: instead.)

- (void)resolve
Discussion

Attempts to determine at least one address for the receiver. This method returns immediately, with success or failure indicated by the callbacks to the delegate.

In Mac OS X v10.4, this method calls resolveWithTimeout: with a timeout value of 5.

Availability
  • Available in OS X v10.2 and later.
  • Deprecated in OS X v10.4.
Declared In
NSNetServices.h

setProtocolSpecificInformation:

Sets protocol specific information for legacy ZeroConf-style clients. (Deprecated in OS X v10.4. Use setTXTRecordData: instead.)

- (void)setProtocolSpecificInformation:(NSString *)specificInformation
Parameters
specificInformation

Information for the protocol.

Discussion

Attaches protocol-specific data to the service.

This method is provided for legacy support of older ZeroConf-style clients and its use is discouraged.

Availability
  • Available in OS X v10.2 and later.
  • Deprecated in OS X v10.4.
Declared In
NSNetServices.h