Commit Graph

15 Commits

Author SHA1 Message Date
Rob Landley
7d35509832 Merge xconnect/xbind. 2019-01-12 13:26:29 -06:00
Josh Gao
0e431542e9 nc: add IPv6 support. 2018-12-10 20:09:34 -06:00
Rob Landley
0c5577513f Tweak/add some comments. 2018-07-19 23:27:14 -05:00
Rob Landley
1498c2fc3d Basic ping support.
Requires echo 0 $((1<<30)) > /proc/sys/net/ipv4/ping_group_range (as root)
2018-01-30 18:44:58 -06:00
Rob Landley
92b6026fa5 Split out xgetaddrinfo() from xconnect() 2017-07-17 05:23:45 -05:00
Rob Landley
a1a559e25a Some lib fixes: mark xvfork() noinline, make xsendfile() return bytes copied,
make xsocket()'s returned fd CLOEXEC.
2017-01-04 01:32:44 -06:00
Rob Landley
4e867b8a35 Make netcat work with nommu and factor out poll() loop into net/net.c. 2016-10-11 08:19:41 -05:00
Rob Landley
4a13ca98e1 Add SIGWINCH support to top, and implement -o and -n in pgrep/pkill. 2016-01-28 22:10:06 -06:00
Rob Landley
5493916370 Move create_uuid() to lib and xpoll() to lib/net.c. 2016-01-16 16:59:47 -06:00
Rob Landley
31ff1f23de Switch nbd_client to xconnect() and make xconnect() try all returned addresses
before failing.
2015-08-05 21:20:27 -05:00
Rob Landley
35dafc7b17 Tweak xconnect: socket can be a string (ala "ftp") from /etc/services.
Still need a rethink on how to handle socket/bind/connect sequence.
2015-08-05 20:32:49 -05:00
Rob Landley
ea75e752f9 Factor out xconnect(), plus some other small cleanups to telnet.c. 2015-08-03 14:34:01 -05:00
Rob Landley
2fd8624cc6 Some infrastructure hexedit needs. (Poor man's curses.) 2015-04-27 11:13:19 -05:00
Rob Landley
98c322e881 Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config options isn't very interesting anymore. 2013-11-02 14:24:33 -05:00
Rob Landley
f015344014 Add posix headers to toynet.h, move xioctl() to lib.c, introduce lib/net.c and move xsocket() to it. 2013-04-26 02:41:05 -05:00