diff options
author | Denys Vlasenko | 2010-06-28 04:17:06 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-06-28 04:17:06 +0200 |
commit | 7d1201c5d7014365fb7e3d9da58f5e3fe0a1edc8 (patch) | |
tree | 8508f79dbf59805292be0eac875ed9fea2850011 /networking | |
parent | 1a3b0710f5424fd71a7c44eade5d4398c44ae431 (diff) | |
download | busybox-7d1201c5d7014365fb7e3d9da58f5e3fe0a1edc8.zip busybox-7d1201c5d7014365fb7e3d9da58f5e3fe0a1edc8.tar.gz |
nc: better comments. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/nc_bloaty.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c index c44133b..aebb9cb 100644 --- a/networking/nc_bloaty.c +++ b/networking/nc_bloaty.c @@ -36,16 +36,18 @@ * - source routing * - multiple DNS checks * Functionalty which is different from nc 1.10: - * - Prog in '-e PROG' can have prog's parameters and options. + * - PROG in '-e PROG' can have ARGS (and options). * Because of this -e option must be last. - * - nc doesn't redirect stderr to the network socket for the -e PROG. +//TODO: remove -e incompatibility? + * - we don't redirect stderr to the network socket for the -e PROG. + * (PROG can do it itself if needed, but sometimes it is NOT wanted!) * - numeric addresses are printed in (), not [] (IPv6 looks better), * port numbers are inside (): (1.2.3.4:5678) * - network read errors are reported on verbose levels > 1 * (nc 1.10 treats them as EOF) * - TCP connects from wrong ip/ports (if peer ip:port is specified * on the command line, but accept() says that it came from different addr) - * are closed, but nc doesn't exit - continues to listen/accept. + * are closed, but we don't exit - we continue to listen/accept. */ /* done in nc.c: #include "libbb.h" */ |