X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/d0e2a23f6909335baea90af08491a5160026757b..c9e0098808889b595086f244439485d1787f65ee:/ITInetSocket.h diff --git a/ITInetSocket.h b/ITInetSocket.h index aaf55b9..1b5af64 100755 --- a/ITInetSocket.h +++ b/ITInetSocket.h @@ -65,12 +65,12 @@ typedef enum { */ @protocol ITInetSocketDelegate /*! - * @method dataRecieved: + * @method dataReceived: * @abstract Alerts the delegate of data. * @discussion The delegate should check [sender readPipe] to get the data. * @param sender The socket that the messages came from. */ -- (void) dataRecieved:(in ITInetSocket *)sender; +- (void) dataReceived:(in ITInetSocket *)sender; /*! * @method errorOccured:during:onSocket: * @abstract Alerts the delegate of an error condition. @@ -103,8 +103,8 @@ typedef enum { int sockfd; int port; unsigned short bufs; - int dieflag; - int actionflag; + volatile int dieflag; + volatile int actionflag; id delegate; struct addrinfo *ai, *ai_cur; ITByteStream *readPipe, *writePipe;