@@ -67,11 +67,11 @@ } - (void)didConnect { if (_exception == nil) - [_socket setBlocking: true]; + [_socket setCanBlock: true]; #ifdef OF_HAVE_BLOCKS if (_block != NULL) { if ([_socket isKindOfClass: [OFTCPSocket class]]) ((of_tcp_socket_async_connect_block_t)_block)( @@ -178,13 +178,13 @@ * * So for now, connecting is blocking on Wii and 3DS. * * FIXME: Use a different thread as a work around. */ - [_socket setBlocking: true]; + [_socket setCanBlock: true]; #else - [_socket setBlocking: false]; + [_socket setCanBlock: false]; #endif if (![_socket of_connectSocketToAddress: &address errNo: &errNo]) { #if !defined(OF_NINTENDO_3DS) && !defined(OF_WII) @@ -213,11 +213,11 @@ } #endif } #if defined(OF_NINTENDO_3DS) || defined(OF_WII) - [_socket setBlocking: false]; + [_socket setCanBlock: false]; #endif [self didConnect]; }