Minor changes
Added some commentaries
The service, specified in getaddrinfo() is not important.