Added support for gethostbyname, for passing host names in addition to IP addresses.
Macro'ed out GETHOSTBYNAME, and fixed if-statement braces to be on a new line for consistency
Merge pull request #87 from frederickproctor/gethostbyname

Added support for gethostbyname, for passing host names in addition to I...