Hi, The input parameter port was kept as string, so that the user can also give service name like "ftp" instead of numeric PORT.
Which will be resolved by getaddrinfo() using /etc/services. regards, Ashwini On Thu, Dec 12, 2013 at 1:27 PM, <ibid...@gmail.com> wrote: > Thanks! > Noticed a few differences from standard help messages, plus a small > problem with the port number handling: > when no port was specified, it failed. > The solution ended up dropping a couple lines. > > Attached is the diff from your second version. > > Thanks, > Isaac Dunham > > _______________________________________________ > Toybox mailing list > Toybox@lists.landley.net > http://lists.landley.net/listinfo.cgi/toybox-landley.net > >
_______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net