p2
0.0
|
create a async Aio_getaddrinfo
request
More...
create a async Aio_getaddrinfo
request
Either node or service may be NULL but not both.
hints | is a pointer to a struct addrinfo with additional address type constraints, or NULL. Consult man -s 3 getaddrinfo for details. |
If successful, your
cb | callback gets called sometime in the future with the lookup result, which is either: |
a) status == 0, the res argument points to a valid struct addrinfo, or b) status == -1, the res argument is NULL.