return ip address given host name (from Beej's Guide to Network Programming)
connect.c details
Merge branch 'master' of https://github.com/doooley/wlog