kqueue on iphone?

1.8k Views Asked by At

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

Thanks!

1

There are 1 best solutions below

3
On

You could try using CoreFoundation. CFRunLoop can run an event loop for you, with sources including file descriptors and sockets.