Kqueue on iphone?

I am porting a Linux server to ios. This is a single-threaded, event-driven design that uses kqueue for OSX to handle sockets and other events. Is there something similar to ios?

Thank!

+3
source share
1 answer

You can try using CoreFoundation. CFRunLoopcan trigger an event loop for you, with sources, including file descriptors and sockets.

0
source

Source: https://habr.com/ru/post/1792953/


All Articles