If you grep the telnet sources, there will be a line that checks for
a -1 result from one of the resolver functions (probably gethostbyname).
You will note it checks agains (unsigned long)-1. If you change that
to (unsigned)-1, it should work.
--randy
On Tue, 19 Dec 1995, Michael Schwingen wrote:
> > I also loaded up a lot of the Red-Hat RPM's, but my telnet client doesnt
> > seem to be resolving addresses, each time it tries to connect to
> > 255.255.255.255 and bails out. The resolver works for other stuff, ncftp
> > and NFS work fine.
>
> I had that effect, too, both using the network binaries from grocne.org and
> self-compiled binaries. I suspect someone has to have a closer look at the
> sources.
>
> cu
> Michael
> --
> Michael Schwingen <m.schwingen@stochastik.rwth-aachen.de>
> Institut fuer Statistik und Wirtschaftsmathematik, | In the beginning there was
> Wuellnerstr. 3, 52056 Aachen | nothing, which exploded.
>