C 言語関数:freeaddrinfo サンプルコード

サンプルコードを検索した結果です。


TITLE : getaddrinfo(), freeaddrinfo(),gai_strerror()
getaddrinfo(), freeaddrinfo(), gai_strerror().......
http://beej.us/guide/bgnet/output/html/multipage/getaddrinfoman.html


TITLE : getaddrinfo(), freeaddrinfo(),gai_strerror()
void freeaddrinfo(struct addrinfo *ai);.......
http://beej.us/guide/bgnet/output/html/multipage/getaddrinfoman.html
TITLE : getaddrinfo(), freeaddrinfo(),gai_strerror()
Finally, when you're done with the linked list, you need to call freeaddrinfo() to free up the memory (or it will be leaked, and Some People will get upset.).......
http://beej.us/guide/bgnet/output/html/multipage/getaddrinfoman.html
TITLE : getaddrinfo(), freeaddrinfo(),gai_strerror()
freeaddrinfo(servinfo); // all done with this structure.......
http://beej.us/guide/bgnet/output/html/multipage/getaddrinfoman.html
Googleで検索

https://www.google.co.jp/#q=freeaddrinfo