I've written a small program that uses UdpSocket (std.socket) to
query a DNS server for selected records.
It works as expected, but I would like to try a non-blocking
approach.
The last time I wrote socket code (without a supporting library)
was over a decade ago, and even then it was not my
On 17/12/2014 9:20 p.m., Andre Artus wrote:
I've written a small program that uses UdpSocket (std.socket) to query a
DNS server for selected records.
It works as expected, but I would like to try a non-blocking approach.
The last time I wrote socket code (without a supporting library) was
over
V Wed, 17 Dec 2014 08:20:42 +
Andre Artus via Digitalmars-d-learn
napsáno:
> I've written a small program that uses UdpSocket (std.socket) to
> query a DNS server for selected records.
>
> It works as expected, but I would like to try a non-blocking
> approach.
>
> The last time I wrote s
-- 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
-- snip --
https://github.com/etcimon/libasync
http://code.dlang.org/packages/libevent
http://code.dlang.org/packages/libev
http://code.dlang.org/packages/libuv
Thanks Daniel,
These links look interesting. Perhaps libasync could do the trick.
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 th