67 Commits (84db4c0e246e98849c82059f5ae34f66c17f30a9)

Author SHA1 Message Date
leitner 78306e451e typo 16 years ago
leitner 3636c04609 use SO_REUSEPORT 17 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
17 years ago
leitner c114890119 *cough* 17 years ago
leitner d4cdc92b4a remove warning 17 years ago
leitner 22f88f6550 add socket_deferaccept 17 years ago
leitner b0d5046428 fmt_ip6 compresses at best spot, not at first spot (Nikola Vladov) 18 years ago
leitner 0cda5dacc8 immer noch falsch 18 years ago
leitner 8420a7a724 fix man pages 18 years ago
leitner 3004b518ef switch to size_t and ssize_t 18 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 c1c50c7dbd further Windoze support (test/io5.c works, gatling still doesn't)
This is just to get gatling to work, I may remove it again after
    that.
20 years ago
leitner f141d3e24f socket_accept4 should cope with being passed NULL pointers 20 years ago
leitner 10658ebe60 only write if dest is non-NULL 20 years ago
leitner eeffc36387 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
20 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 d6b7c29808 uh, the scope_id detection #defined the wrong constant. libowfat
always thought there was no scope_id.  Oops.
20 years ago
leitner 8873a442f2 man page update 21 years ago
leitner 08ea2e27a0 be backwards compatible to legacy BSD constant naming 21 years ago
leitner 25181575b6 fix ip6_fmt (martin paljak) 21 years ago
leitner f52aa87441 more alloca fixes 21 years ago
leitner 3eb26af29d work around IRIX 21 years ago
leitner 0bae11b63e remove socket_sendfile now that we have io_sendfile
make Makefile should also work with a BSD make ;)
21 years ago
leitner 0f60bacb89 add routines to scan and output ipv6 addresses with %eth0 notation.
also add compat formatting routines that will output v4-mapped addresses
  as ipv4 addresses
21 years ago
leitner 15a54e002b More Windoze crap 21 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 22 years ago
leitner a8f6a1c121 remove special case stralloc textcode functions
write generic stralloc and array textcode wrapper functions
change textcode API to use long instead of int
add cescape fmt and scan functions to textcode
add fmt_foldwhitespace to textcode
22 years ago
leitner 824630a489 more BSD compat 22 years ago
leitner 53b201046e extended socket API; you can now pass NULL to ignore results you don't
need
22 years ago
leitner 92594f480b use sys/poll.h instead of poll.h for iopause
scan_ip6 returned 1 for "::"
22 years ago
leitner 85c18a49cb Lots of good clean-ups from Jukka Zitting! 23 years ago
leitner eb3596b745 ugly bug in scan_ip6 that manifests if the IPv6 number starts with a
decimal digit and :: skips the 12th byte.
23 years ago
leitner f908a9dcd4 fix socket routines 23 years ago
leitner 67b6379bbf s/socket_tcp/socket_tcp4/ 23 years ago
leitner ae4b409c55 add and update man pages. 23 years ago
leitner 732c0235ba more bug fixes 23 years ago
leitner 40897bd709 bug fixes 23 years ago
leitner 24ef5b3bfc socklen_t compatibility cruft. 23 years ago
leitner d6ae7e2265 this time for real ;) 23 years ago
leitner 6a5887aa8b socklen_t test. 23 years ago
leitner d4753c43f3 test for ipv6 and if_name2index and socklen_t. 23 years ago
leitner 8ecb47a608 bsd and macosx compatibility 24 years ago
leitner b3edc1f613 various ip scanning fixes 24 years ago
leitner 03cfe1f188 be compatible to the RFC, not to the Linux kernel. 24 years ago
leitner cfddc730ea "::" case was handled incorrectly. 24 years ago
leitner 1093f1c267 oops 24 years ago