getaddrinfo doesn't work for the literal IPv4 address. This project shows how to solve this.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool