@protocol ITInetSocketOwner
- (void) dataRecieved:(in NSData*)data;
-- (void) errorOccured:(int)err during:(ITInetSocketState)state;
+- (void) errorOccured:(ITInetSocketError)err during:(ITInetSocketState)state;
- (void) finishedConnecting;
@end
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