On Wednesday, 17 December 2014 at 09:37:47 UTC, Andre Artus wrote:
-- snip --

Have you looked at vibe.d?
https://github.com/rejectedsoftware/vibe.d/blob/master/examples/udp/source/app.d

Thanks Rikki,

I saw that before, but I was left with the impression that its doing blocking calls in a thread (which could very well be the simplest answer). I'll give it a bash.

It uses fibers to make it look as if it were a synchronous, blocking API, but under the hood it does asynchronous, non-blocking calls in an event loop.

Reply via email to