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!
You can try using CoreFoundation. CFRunLoopcan trigger an event loop for you, with sources, including file descriptors and sockets.
CFRunLoop
Source: https://habr.com/ru/post/1792953/More articles:Как управлять несколькими проектами на основе одного и того же шаблона в git? - gitWhy is the result of modulo operator (%) implicitly cast to the left side and not the right side in C #? - operatorsnumpy and sc resize arrays - pythonxargs: unterminated quote - ffmpegAdding Facebook application to page via API - facebookInclude unused factor levels on the verge of ggplot2 - rdatabase data structure using two powers - sqlThe function of counting functions by name or signature. Gcc, C ++ - c ++Why did changing the font size and line height ruin my HTML layout? - htmlWhat does the value of $ in javascript function name mean? - javascriptAll Articles