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!
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!
You could try using CoreFoundation.
CFRunLoop
can run an event loop for you, with sources including file descriptors and sockets.