@@ -511,10 +511,18 @@ newSocket->sockAddr = addr; newSocket->sockAddrLen = addrLen; return newSocket; } + +#ifdef OF_HAVE_BLOCKS +- (void)asyncAcceptWithBlock: (of_tcpsocket_async_accept_block_t)block +{ + [OFRunLoop _addAsyncAcceptForTCPSocket: self + block: block]; +} +#endif - (void)setKeepAlivesEnabled: (BOOL)enable { int v = enable;