Rob Landley
|
2b4abd05ef
Fix bug pointed out by asm89 and add test.
|
3 years ago |
Elliott Hughes
|
29783d134e
net.c: add missing static.
|
5 years ago |
Elliott Hughes
|
a57721d146
bind/connect cleanup.
|
5 years ago |
Elliott Hughes
|
42af2e52e7
Bumper typo cleanup.
|
5 years ago |
Rob Landley
|
c0afd2cb5a
Make xgetaddrinfo() return a wildcard address for NULL host, and xconnbind()
|
5 years ago |
Rob Landley
|
7e6a7da600
Move nanomove(), nanodiff(), union socksaddr, and xrecvwait() to lib.
|
5 years ago |
Rob Landley
|
d5becb1a23
Teach xpoll() to measure time if interrupted, and wait for what's left.
|
5 years ago |
Rob Landley
|
22927b0b9a
Move xsendto() to lib/net.c.
|
5 years ago |
Rob Landley
|
7d35509832
Merge xconnect/xbind.
|
5 years ago |
Josh Gao
|
0e431542e9
nc: add IPv6 support.
|
5 years ago |
Rob Landley
|
0c5577513f
Tweak/add some comments.
|
6 years ago |
Rob Landley
|
1498c2fc3d
Basic ping support.
|
6 years ago |
Rob Landley
|
92b6026fa5
Split out xgetaddrinfo() from xconnect()
|
7 years ago |
Rob Landley
|
a1a559e25a
Some lib fixes: mark xvfork() noinline, make xsendfile() return bytes copied,
|
7 years ago |
Rob Landley
|
4e867b8a35
Make netcat work with nommu and factor out poll() loop into net/net.c.
|
7 years ago |
Rob Landley
|
4a13ca98e1
Add SIGWINCH support to top, and implement -o and -n in pgrep/pkill.
|
8 years ago |
Rob Landley
|
5493916370
Move create_uuid() to lib and xpoll() to lib/net.c.
|
8 years ago |
Rob Landley
|
31ff1f23de
Switch nbd_client to xconnect() and make xconnect() try all returned addresses
|
9 years ago |
Rob Landley
|
35dafc7b17
Tweak xconnect: socket can be a string (ala "ftp") from /etc/services.
|
9 years ago |
Rob Landley
|
ea75e752f9
Factor out xconnect(), plus some other small cleanups to telnet.c.
|
9 years ago |
Rob Landley
|
2fd8624cc6
Some infrastructure hexedit needs. (Poor man's curses.)
|
9 years ago |
Rob Landley
|
98c322e881
Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config options isn't very interesting anymore.
|
10 years ago |
Rob Landley
|
f015344014
Add posix headers to toynet.h, move xioctl() to lib.c, introduce lib/net.c and move xsocket() to it.
|
11 years ago |