Update resolv.c

gethostbyname() is deprecated , so i try use getaddrinfo(),need to test, i use this function here https://github.com/CoolerVoid/ninja_shell   , Salve MenteBinaria lol o/ ai esta a func para seguir padrao posix soh precisar testar antes, abr