> | > - The code for parsing a dotted quad or hostname appears twice...
Unfortunately, there is still the problem that gethostbyname() wants a NUL-terminated string. However, the attractions of avoiding malloc() are sufficiently large that I'm tentatively just decreeing that a hostname of over 99 characters does not work (so a fixed internal buffer can be used).
> | > - Should this be GPLed?
I hope so, but it's something I haven't yet looked into -- it's on my list.
> BTW, consider this a request to diagnose empty numbers in dotted quads.
Done (although the new code isn't quite out the door yet).
Henry Spencer henry@spsystems.net (henry@zoo.toronto.edu)
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:24 EDT