Replace use of deprecated functions gethostbyname() and inet_ntoa() with getaddrinfo() and inet_ntop().
Merge branch 'master' of github.com:plutooo/3dmoo