Hacker News new | ask | show | jobs
by RustyRussell 3685 days ago
I couldn't see how to do other things in the event loop. Like, waiting for socket input. Did I miss it?
1 comments

I haven't implemented that, and I'm not sure how I would add support for implementing that in a portable way without creating a complete networking abstraction interface either... In the meantime, you could do your socket work on a thread and use uiQueueMain() to send updates to the main thread.