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