@@ -46,10 +46,17 @@ * This callback is called when a stream did get ready for writing. * * \param stream The stream which did become ready for writing */ - (void)streamDidBecomeReadyForWriting: (OFStream*)stream; + +/** + * This callback is called when an exception occurred on the stream. + * + * \param stream The stream on which an exception occurred + */ +- (void)streamDidReceiveException: (OFStream*)stream; @end /** * \brief A class that can observe multiple streams at once. */ @@ -62,10 +69,11 @@ OFDataArray *fds; OFMutableDictionary *fdToStream; #else fd_set readfds; fd_set writefds; + fd_set exceptfds; int nfds; #endif } #ifdef OF_HAVE_PROPERTIES