freeaddrinfo
freeaddrinfo is used to free the pointer to the addrinfo structure returned by getaddrinfo.
Syntax
void freeaddrinfo(
[in] struct addrinfo *ai
);
Parameters
[in] ai
A pointer returned by getaddrinfo.
Return Value
None.
Remarks
freeaddrinfo must be called when the application finishes using the pointer or a memory leak will occur.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
ws2tcpip.h |
RttcpipApi.lib |