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.
19 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
20 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
21 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
21 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
23 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
leitner
5c1abf12b5
hex conversion bug fix.
24 years ago
sanjiyan
8a09e437cc
error -> errno
...
error_proto -> EPROTO
24 years ago
leitner
dc60cb52bd
added ip[46] scanning routines.
24 years ago
leitner
23ad357186
renamed ip[46]_fmt to fmt_ip[46]
24 years ago
leitner
fc4193e1ce
buffer stuff from Olaf and ip[46]_fmt stuff from me.
24 years ago
leitner
7895eb3b2a
fixed sendfile
24 years ago
leitner
ff54589b32
even more man pages
24 years ago
leitner
eb87d79391
more man pages, rename socket_mcttl6 to socket_mchopcount6
24 years ago
leitner
c30e4855e2
more man pages.
24 years ago
leitner
1bcce7eed7
even more stuff
24 years ago