Commit Graph

11 Commits (18afec7d68117a6f4f6d622fde88135982725881)

Author SHA1 Message Date
leitner 67bfd53652 check for socket() returning -1 before trying to set the socket
non-blocking so we don't hide the "too many open files" error code
leitner 83c1186870 fix for NetBSD 3.0 (they broke their sys/types.h)
remove support for ip6.int reverse lookup in DNS routines (the domain is
no longer delegated)
leitner 144fb41918 remove warnings
leitner d361d81c64 make socket_(tc|ud)p[46] actually return non-blocking sockets as
documented (Richard Lyons)
leitner 6196f771cd remove a few gcc 4 warnings
work around freebsd 5.4 brokenness (if you don't have IPv6 in the
    kernel, socket(PF_INET6,SOCK_STREAM,0) returns EPROTONOSUPPORT
    instead of EPFNOSUPPORT, which basically says "yeah, I know IPv6,
    but TCP?  never heard of it")
leitner 9210337fa5 turns out there is one more error message that can signal missing IPv6
support in the kernel
leitner 82a4ae868d broken lose32 port using mingw (don't use!!!)
initial Solaris /dev/poll port
leitner 2af3efb074 work around itojun BSD IPV6_ONLY brokenness
leitner 67b6379bbf s/socket_tcp/socket_tcp4/
leitner d4753c43f3 test for ipv6 and if_name2index and socklen_t.
leitner 3083708670 Initial revision