diff -r 5936db2c1987 -r 423c134d3205 TCP/TCPStream.h --- a/TCP/TCPStream.h Sun May 25 13:43:03 2008 -0700 +++ b/TCP/TCPStream.h Tue May 05 15:27:20 2009 -0700 @@ -47,6 +47,9 @@ /** Does the stream have pending data to read or write, that prevents it from closing? */ @property (readonly) BOOL isBusy; +/** Returns NO if the stream is ready to close (-close has been called and -isBusy is NO.) */ +@property (readonly) BOOL isActive; + /** Generic accessor for CFStream/NSStream properties. */ - (id) propertyForKey: (CFStringRef)cfStreamProperty;