#import <TCPStream.h>
Inherited by TCPWriter.
Public Member Functions | |
| (void) | - open |
| Opens the stream. | |
| (void) | - disconnect |
| Disconnects abruptly. | |
| (BOOL) | - close |
| Closes the stream politely, waiting until there's no data pending. | |
| (id) | - propertyForKey: |
| Generic accessor for CFStream/NSStream properties. | |
| (void) | - setProperty:forKey: |
| Generic accessor for CFStream/NSStream properties. | |
Properties | |
| readonly IPAddress * | peerAddress |
| The IP address this stream is connected to. | |
| readonly NSString * | securityLevel |
| The connection's security level as reported by the underlying CFStream. | |
| copy NSDictionary * | SSLProperties |
| The SSL property dictionary for the CFStream. | |
| readonly NSArray * | peerSSLCerts |
| The SSL certificate(s) of the peer, if any. | |
| readonly BOOL | isOpen |
| Is the stream open? | |
| readonly BOOL | isBusy |
| Does the stream have pending data to read or write, that prevents it from closing? | |
| - (void) open |
Opens the stream.
| - (void) disconnect |
Disconnects abruptly.
| - (BOOL) close |
Closes the stream politely, waiting until there's no data pending.
| - (id) propertyForKey: | (CFStringRef) | cfStreamProperty |
Generic accessor for CFStream/NSStream properties.
| - (void) setProperty: | (id) | value | ||
| forKey: | (CFStringRef) | cfStreamProperty | ||
Generic accessor for CFStream/NSStream properties.
| - (IPAddress *) peerAddress |
The IP address this stream is connected to.
| - (NSString *) securityLevel |
The connection's security level as reported by the underlying CFStream.
| - (NSDictionary *) SSLProperties |
The SSL property dictionary for the CFStream.
| - (NSArray *) peerSSLCerts |
The SSL certificate(s) of the peer, if any.
1.5.4