Instance Method

propertyForKey:

Returns the receiver’s property for a given key.

Declaration

- (id)propertyForKey:(NSStreamPropertyKey)key;

Parameters

key

The key for one of the receiver's properties. See Constants for a description of the available property-key constants and associated values.

Return Value

The receiver’s property for the key key.

See Also

Configuring Streams

- setProperty:forKey:

Attempts to set the value of a given property of the receiver and returns a Boolean value that indicates whether the value is accepted by the receiver.

delegate

Sets the receiver’s delegate.