X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/1ea39b0f18a93a1622b987e11b502b3b4ac2f821..c1dc61cc189c0eb83fe8027c70949b9c4dcdbd24:/ITInetSocket.h?ds=inline diff --git a/ITInetSocket.h b/ITInetSocket.h index bcf30f5..aad407f 100755 --- a/ITInetSocket.h +++ b/ITInetSocket.h @@ -30,7 +30,7 @@ typedef enum { @protocol ITInetSocketOwner - (void) dataRecieved:(in NSData*)data; -- (void) errorOccured:(int)err during:(ITInetSocketState)state; +- (void) errorOccured:(ITInetSocketError)err during:(ITInetSocketState)state; - (void) finishedConnecting; @end @@ -43,11 +43,9 @@ typedef enum { NSData *writeBuffer; ITInetSocketState state; } -// Init -(id) initWithFD:(int)fd delegate:(id)d; -(id) initWithDelegate:(id)d; -(void) connectToHost:(NSString*)host onPort:(short)port; -(ITInetSocketState) state; - @end