comparison toys/other/netcat.c @ 1662:c1715c752e89 draft

AOSP master has <pty.h> and builds netcat/nc.
author Elliott Hughes <enh@google.com>
date Fri, 16 Jan 2015 13:49:23 -0600
parents e5e3cd5f8779
children cbb1aca81eca
comparison
equal deleted inserted replaced
1661:d4bc084916fd 1662:c1715c752e89
24 24
25 config NETCAT_LISTEN 25 config NETCAT_LISTEN
26 bool "netcat server options (-let)" 26 bool "netcat server options (-let)"
27 default y 27 default y
28 depends on NETCAT 28 depends on NETCAT
29 depends on TOYBOX_PTY
30 help 29 help
31 usage: netcat [-t] [-lL COMMAND...] 30 usage: netcat [-t] [-lL COMMAND...]
32 31
33 -t allocate tty (must come before -l or -L) 32 -t allocate tty (must come before -l or -L)
34 -l listen for one incoming connection. 33 -l listen for one incoming connection.