Files
asyncaddrinfo/README.md

17 lines
584 B
Markdown
Raw Permalink Normal View History

2016-03-01 19:47:50 -08:00
# asyncaddrinfo
Asynchronous version of [getaddrinfo()](http://man7.org/linux/man-pages/man3/getaddrinfo.3.html).
## Features
* Uses getaddrinfo() underneath, so is quirk-compatible
* Configurable number of resolver threads
* Signals completion via a single file descriptor
* Compatible with select, poll, epoll, or blocking results
* Simple API; splits getaddrinfo() into two functions, with a file descriptor in between
2016-03-01 20:11:30 -08:00
* valgrind-friendly: closes all fds, frees all allocated memory
2016-03-01 20:07:17 -08:00
## Use
See [example.c](https://github.com/flamingcowtv/asyncaddrinfo/blob/master/example.c)