1.1 --- a/TCP/TCPStream.h Sat May 24 17:25:06 2008 -0700
1.2 +++ b/TCP/TCPStream.h Tue Jun 03 22:24:21 2008 -0700
1.3 @@ -7,7 +7,7 @@
1.4 //
1.5
1.6 #import <Foundation/Foundation.h>
1.7 -@class TCPConnection, TCPWriter;
1.8 +@class TCPConnection, TCPWriter, IPAddress;
1.9
1.10
1.11 /** Abstract superclass for data streams, used by TCPConnection. */
1.12 @@ -20,6 +20,9 @@
1.13
1.14 - (id) initWithConnection: (TCPConnection*)conn stream: (NSStream*)stream;
1.15
1.16 +/** The IP address this stream is connected to. */
1.17 +@property (readonly) IPAddress *peerAddress;
1.18 +
1.19 /** The connection's security level as reported by the underlying CFStream. */
1.20 @property (readonly) NSString *securityLevel;
1.21