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 answers

3
Lily Ballard On

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