@@ -624,11 +624,11 @@ [self raiseException: e]; return; } } -- (void)socket: (OFTCPSocket *)sock +- (void)socket: (OFIPStreamSocket *)sock didConnectToHost: (OFString *)host port: (uint16_t)port exception: (id)exception { sock.delegate = self; @@ -639,11 +639,11 @@ } if ([_client->_delegate respondsToSelector: @selector(client:didCreateSocket:request:)]) [_client->_delegate client: _client - didCreateSocket: sock + didCreateSocket: (OFTCPSocket *)sock request: _request]; [self performSelector: @selector(handleSocket:) withObject: sock afterDelay: 0];