Commit Graph

3 Commits

Author SHA1 Message Date
Guy Harris 12374deb50 Cast away warnings about "struct sockaddr" -> "struct sockaddr_XXX"
casts that are actually safe.

svn path=/trunk/; revision=36864
2011-04-26 02:55:59 +00:00
Guy Harris 5749270c56 If there are more than 4 billion characters in the printable form of a
network address, we have bigger problems.  Cast the result of strlen()
to int to squelch a compiler warning with MSVC++.

svn path=/trunk/; revision=36375
2011-03-27 17:26:21 +00:00
Gerald Combs 941666d525 Add "-z hosts", which dumps name resolution information in hosts format.
svn path=/trunk/; revision=36372
2011-03-27 16:06:03 +00:00