Callers must copy the data if it needs to survive across other libpcap calls.
Parameters
name | The host name. |
Returns
A pointer to an
addrinfo structure, or null on error.addrinfo * nametoaddrinfo(string name)Resolves a host name to an addrinfo structure.
Callers must copy the data if it needs to survive across other libpcap calls.
name | The host name. |
addrinfo structure, or null on error.