TCP/TCPStream.h
changeset 32 b3254a2f6d6c
parent 7 5936db2c1987
     1.1 --- a/TCP/TCPStream.h	Sun May 25 13:43:03 2008 -0700
     1.2 +++ b/TCP/TCPStream.h	Wed Apr 29 13:57:10 2009 -0700
     1.3 @@ -47,6 +47,9 @@
     1.4  /** Does the stream have pending data to read or write, that prevents it from closing? */
     1.5  @property (readonly) BOOL isBusy;
     1.6  
     1.7 +/** Returns NO if the stream is ready to close (-close has been called and -isBusy is NO.) */
     1.8 +@property (readonly) BOOL isActive;
     1.9 +
    1.10  /** Generic accessor for CFStream/NSStream properties. */
    1.11  - (id) propertyForKey: (CFStringRef)cfStreamProperty;
    1.12