This check doesn't make sense on Win32 (always errors out as fd_set works a bit different from *nix).
Merge remote branch 'upstream/master' into win32-misc
change htons workaround to a pragma, remove static off CSAdjustTVTimeout as its a helper function used elsewhere
switch to sockaddr_storage and getnameinfo in Accept, GetRemoteIP, GetLocalIP. Cleans up the code a bit using more abstract concepts. Deprecate use of gethostbyname
updated SockError to include a text description
added support for non-blocking listener setup (specifically for dns resolution on the bind host)
ripped GetAddrInfo into a class with Init(), Process(), and Finish()
fixed formatting with astyle
fix typo in macro
fix license and contact info
workaround for gcc issue
only use const char * strerror_r if _GNU_SOURCE is defined
don't fall back into getaddrinfo when using gethostbyname
fix doxygen
patch from DGandalf that gives a finer granularity on the interval in which cron's can fire
using stdint int types, type fixes, lots of reformatting
fix precision issue via casting (no math love)
clean up static callbacks
Fix FTBFS introduced in 1861371ec028dea414c4f3ca2910f5662cc2677a

See https://github.com/znc/znc/issues/254
changed size() calls to use empty()