aboutsummaryrefslogtreecommitdiff
path: root/networking/nc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* whitespace cleanupDenis Vlasenko2006-09-171-6/+6
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-4/+4
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-7/+5
| | | | xlseek and fdlength() for the new mkswap.
* Upgrade netcat a lot. Make -e able to take the rest of the command line asRob Landley2006-07-101-100/+102
| | | | | | | what to exec. Add -f mode and a brief explanation of how to use it to replace minicom. Add -l -l mode so you can turn any command into a server. And group all of netcat's command line options under two CONFIG entries, so if you disable both it doesn't use getopt at all.
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* Remove a pointless #define.Rob Landley2006-05-251-4/+5
|
* - patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()Bernhard Reutner-Fischer2006-04-121-5/+2
|
* - patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer2006-04-121-15/+2
| | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it.
* just whitespaceTim Riker2006-01-251-2/+2
|
* common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"2005-10-151-1/+3
|
* applying fix for: Paul Fox2005-07-201-7/+0
| | | | | | 0000263: nc cannot use -e when initiating a tcp connection to something else
* fix for "0000027: patch: nc will spin if stdin closed"Paul Fox2005-07-181-2/+5
|
* use shared busybox error messages to save a few bytesMike Frysinger2005-05-071-5/+5
|
* make the exec (-e) an optional feature of netcatMike Frysinger2005-05-061-16/+11
|
* In bug 247, haveaniceday writes:Mike Frysinger2005-05-061-2/+21
| | | | | The option "-w secs" adds a timeout for writing.
* s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen2004-03-271-1/+1
| | | | s/fileno\(stdout\)/STDOUT_FILENO/g
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-3/+3
|
* Modify bb_lookup_port to allow the protocol to be specified, allowingGlenn L McGrath2004-01-171-3/+3
| | | | /etc/services support for inetd, netcat and tftp.
* Major coreutils update.Manuel Novoa III2003-03-191-12/+12
|
* Tom Oehser noticed that we were lacking the SO_REUSEADDR flag.Eric Andersen2002-05-051-2/+4
|
* Add netcat -i option, per patch from Cristian Ionescu-IdbohrnEric Andersen2002-04-261-2/+40
| | | | <cristian.ionescu-idbohrn@axis.com>
* Add xgethostbyname and herror_msg* functions.Matt Kraai2001-05-161-2/+1
|
* Fix incorrect length passed to accept noted by Larry Doolittle.Matt Kraai2001-05-151-1/+3
|
* Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen2001-03-091-0/+1
| | | | | warnings with glibc 2.2 and use always use xfopen -Erik
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-2/+2
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Add listening support.Matt Kraai2001-02-071-12/+42
|
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-1/+1
|
* Remove the warning messages. By consensus, netkit-tiny doesn'tEric Andersen2001-01-241-4/+0
| | | | need to happen.
* Fix spelling. s/maintainence/maintenance/Eric Andersen2001-01-241-1/+1
|
* Warn about apps that will be going away in release 0.50Eric Andersen2001-01-221-0/+5
| | | | -Erik
* Rewrite nc to be simpler, smaller, and to check syscalls for errors.Matt Kraai2000-12-151-42/+15
|
* Shutdown sending on the socket when stdin closes.Matt Kraai2000-12-141-0/+2
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-1/+1
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-6/+0
|
* Always report the applet name when doing error reporting.Matt Kraai2000-07-121-1/+1
|
* "nc" exits silently on errors. This patch makes it print something beforeEric Andersen2000-06-041-1/+3
| | | | | | | | | | | exit(). Note that calling perror() after gethostbyname() will most likely return "No such file or directory" which is quite confusing, so I decided to use fatalError instead. Regards, Pavel Roskin
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-0/+133
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik