Skip to content

firestuff/asyncaddrinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published