TCP/TCPStream.h
changeset 21 56aed3578628
parent 7 5936db2c1987
     1.1 --- a/TCP/TCPStream.h	Sun May 25 13:43:03 2008 -0700
     1.2 +++ b/TCP/TCPStream.h	Sun Jul 13 10:53:46 2008 -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