Comments...
Moved struct hints initializer into file 'sockutil.c'.
Safely copy the user's input.
Better code for DNS and socket creation.
Added terminate label.
Added null pointer check to hintsInit().
Removed null pointer check from hintsInit().
Added connect code, DNS resolution works.
Notifies user of DNS resolution, properly closes socket on terminate.
Tell user which port we're trying to use.
Can now specify port on command line, fall back to default otherwise.
Comments...