diff -r 5936db2c1987 -r e9f209a24d53 TCP/TCPStream.h --- a/TCP/TCPStream.h Sun May 25 13:43:03 2008 -0700 +++ b/TCP/TCPStream.h Tue Jun 23 12:46:40 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;