Index: src/OFTCPSocket.m ================================================================== --- src/OFTCPSocket.m +++ src/OFTCPSocket.m @@ -228,10 +228,13 @@ [super dealloc]; } - (void)didConnect { + if (_exception == nil) + [_socket setBlocking: true]; + #ifdef OF_HAVE_BLOCKS if (_block != NULL) _block(_socket, _exception); else { #endif