@@ -984,12 +984,12 @@ acceptedSocket.delegate = connection; [acceptedSocket asyncReadLine]; } -- (bool)socket: (OFTCPSocket *)sock - didAcceptSocket: (OFTCPSocket *)acceptedSocket +- (bool)socket: (OFIPStreamSocket *)sock + didAcceptSocket: (OFIPStreamSocket *)acceptedSocket exception: (id)exception { if (exception != nil) { if (![_delegate respondsToSelector: @selector(server:didReceiveExceptionOnListeningSocket:)]) @@ -1011,10 +1011,10 @@ onThread: thread withObject: acceptedSocket waitUntilDone: false]; } else #endif - [self of_handleAcceptedSocket: acceptedSocket]; + [self of_handleAcceptedSocket: (OFTCPSocket *)acceptedSocket]; return true; } @end