diff -r 5936db2c1987 -r 60f2b46d9a3b TCP/TCPStream.h --- a/TCP/TCPStream.h Sun May 25 13:43:03 2008 -0700 +++ b/TCP/TCPStream.h Sat May 16 14:10:15 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;