add complete test for getaddrinfo function
add compatabiliy sizeof way source code