2016-03-07 15:21:55 -08:00
2016-03-01 20:10:27 -08:00
2016-03-07 15:21:55 -08:00
2016-03-07 15:21:55 -08:00
2016-03-01 19:43:50 -08:00
2016-03-01 20:07:17 -08:00
2016-03-01 20:11:30 -08:00

asyncaddrinfo

Asynchronous version of getaddrinfo().

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
  • valgrind-friendly: closes all fds, frees all allocated memory

Use

See example.c

Description
No description provided
Readme Apache-2.0 38 KiB
Languages
C 96.4%
Makefile 3.6%