Commit Graph

19 Commits

Author SHA1 Message Date
Mike Frysinger 31f56e021f fix crashes with large port numbers
the anum field isn't used anywhere, so punt it

http://bugs.gentoo.org/370827
2011-06-12 01:42:11 +00:00
Mike Frysinger fcaf538746 add an -c option which is like -e but executes through a shell 2009-03-06 02:51:18 +00:00
Mike Frysinger bda7ada5a1 do not make the -n flag affect service name lookups 2009-03-06 02:45:46 +00:00
Mike Frysinger 417a3d26a0 add an option to use sig{set,long}jmp and default it to on for linux systems 2009-03-06 02:41:40 +00:00
Mike Frysinger e670149ab9 rename the arm() func to arm_timer() as gcc arm compilers define "arm" by default 2009-03-06 02:35:22 +00:00
Mike Frysinger 5d9df913c4 define HAVE_SOCKLEN_T for linux systems 2009-03-06 02:32:41 +00:00
Mike Frysinger 36d74baf20 use __linux__ rather than LINUX as toolchains set that up automatically 2009-03-06 02:13:34 +00:00
Mike Frysinger b9e72ce5af dump usage() info to stdout when asking for help 2009-03-06 02:11:45 +00:00
Mike Frysinger 69a0d44d75 make sure the buffer holding the command line is always NUL terminated 2009-03-06 02:10:10 +00:00
Mike Frysinger ebf4d38912 dont delay with sleep() before calling exit() 2009-03-06 01:55:09 +00:00
Mike Frysinger 9059d5da39 mmm, actually allow HAVE_BIND on all systems and use resolv.h on linux systems 2009-03-06 01:51:34 +00:00
Mike Frysinger e89203975b declare proper return types for funcs and move helpme() up before its first usage 2009-03-06 01:46:51 +00:00
Mike Frysinger b7c6c3c10e use socklen_t with network functions 2009-03-06 01:42:41 +00:00
Mike Frysinger 89659d87d9 include unistd.h for some standard file related prototypes 2009-03-06 01:35:04 +00:00
Mike Frysinger 384a321928 include time.h by default for time() prototype 2009-03-06 01:32:40 +00:00
Mike Frysinger d0ec781df1 do not define HAVE_BIND by default -- let builders do it 2009-03-06 01:28:37 +00:00
Mike Frysinger 3d5a4955ad remove embedded /* in comments 2009-03-06 01:21:49 +00:00
Mike Frysinger 7ed164285c document our role 2007-01-18 04:06:44 +00:00
Anatoly Techtonik 5086ba1ade *Hobbit*'s netcat 1.10 2007-01-17 09:51:02 +00:00