~sircmpwn/hare-ev

ev: improve documentation of ev::do

And make it clear that the dispatch handler is only called once.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
ev::dial: attempt resolved IPs in order

To handle cases where, for instance, an AAAA record is returned but IPv6
is not available.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
ev::dns: fall back to TCP on response truncation

Signed-off-by: Drew DeVault <sir@cmpwn.com>
ev::dns: update resolv.conf usage

Signed-off-by: Drew DeVault <sir@cmpwn.com>
Update README.md
ev::dispatch(): return if no events are available

Signed-off-by: Abdera7mane <djaker_abderahmane@yahoo.fr>
reset related event in ev::unregister

Otherwise the next dispatch will cause a segfault.

Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
Conservative updates for optional parameters

We could go harder but it'd require breaking changes and I want to make
those with a bit more thought.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
all: for-each updates

Signed-off-by: Drew DeVault <sir@cmpwn.com>
update to the new time::duration_to_timespec api
Correct documentation for connect_{tcp,unix}

After saying that user data can be omitted, it should be actually omitted in
the example.
ev::dial: strerror errors from 'errors' module
cmd::hget: remove full module name usage
loop::dispatch: fix write while read
Add support for UNIX domain sockets
Makefile: add ::dns and ::dial
cmd/hget: use URI from os::args
ev::dial: implement dial_udp
ev::dial: initial commit
Next