[ds6-devel] nc6 long options

Chris Leishman chris@leishman.org
Sun Dec 29 11:30:25 2002


Hi,

Just looking at the options currently defined in parser.c - it's 
getting pretty cluttered and I've already managed to break option 
compatibility with netcat :(  (oops)

I think we should add in long options asap so that this can be cleared 
up.  Things like setting the buffer size, mtu & nru can be moved to 
long options - they don't need single letter mnemonics.

I think the best (only?) choice would be to use the gnu getopt library 
(getopt_long) - but should we include the gnu getopt source into the 
source tree as well, or should we just assume that platforms not using 
glibc can install the libgnugetopt?

Regards,
Chris



More information about the ds6-devel mailing list