xconnect helper routine which does:
-address and port resolving
-tries to connect to all resolved addresses until connected
-uses getaddrinfo, so works for IPv6 too
This patch also ports rdate, telnet, and wget to use the new
xconnect function. Thanks Bart!
Please see the LICENSE file for copyright information.
libbb is BusyBox's utility library. This all used to be in a single file
(utility.c to be specific). When I split utility.c up to create libbb, I did
not carefully fix up the copyright and licensing information. I'll do that for
the next release.
For now, just trust me that a bunch of people have worked on this stuff,
and it is all GPL'ed.
Erik Andersen
<andersee@codepoet.org>