16 Commits (82b17dbfe3e8520cb2ec4d57ca4de40ccb316fb4)

Author SHA1 Message Date
leitner 695843c79e small buffer optimization
fix botched noipv6 case in buffer_tcp6
10 years ago
leitner d0e735e2c2 support noipv6 being set externally even when there is perfectly good
IPv6 support.
10 years ago
leitner 1856c8a2d7 damn it, fucked up the return value 10 years ago
leitner 6e022f98c9 ... but if errno==EINVAL still fall back to socket+fcntl (Robert Henney) 10 years ago
leitner 35f5a9692a if SOCK_NONBLOCK is defined, use it instead of socket+fcntl 10 years ago
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
16 years ago
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)
19 years ago
leitner 144fb41918 remove warnings 19 years ago
leitner d361d81c64 make socket_(tc|ud)p[46] actually return non-blocking sockets as
documented (Richard Lyons)
19 years ago
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")
20 years ago
leitner 9210337fa5 turns out there is one more error message that can signal missing IPv6
support in the kernel
20 years ago
leitner 82a4ae868d broken lose32 port using mingw (don't use!!!)
initial Solaris /dev/poll port
21 years ago
leitner 2af3efb074 work around itojun BSD IPV6_ONLY brokenness 21 years ago
leitner 67b6379bbf s/socket_tcp/socket_tcp4/ 23 years ago
leitner d4753c43f3 test for ipv6 and if_name2index and socklen_t. 23 years ago
leitner 3083708670 Initial revision 24 years ago