This is the mail archive of the
mailing list for the Cygwin project.
Re: libresolv and resolv.h
- From: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 28 Nov 2001 17:48:09 +0100
- Subject: Re: libresolv and resolv.h
- Organization: convey Information Systems GmbH
- References: <3C04CF87.FA8519A7@lapo.it>
- Reply-to: "Gerrit P. Haase" <cygwin-apps at cygwin dot com>
2001-11-28 17:41:45, du schriebst:
> in trying to port new rsync-2.4.7 (preview 4) I discovered that CygWin
> doesn't contain a pre-compiled libresolv, I did some search on the
> mailing list and discovered that can be compiled OOTB from some bind
> version (that is neither 9.2.0 or 8.2.5)... but I was thinking:
> a) of course "everyone can compile it, as it's easy", but couln'd a
> precompiled package be more useful?
The problem with bind is that the resolver library doesn't work correct,
I have problems using it for an Exim port, i.e. the service lookup in
/etc/services doesn't work so it wouldn't help much to have it.
I have also problems using nslookup, maybe it is the same cause.
> b) is really needed to build a resolver when the underlying winsock
> already do that? couln't a "stub" libresolv be easier and smaller to do?
That is the point, winsock is there and needs only to be accessed.
What we need is a wrapper around winsock. So the unix apps can call
their res_query or whatever from libresolv which is in fact winsock.
convey Information Systems GmbH http://www.convey.de/
Gerrit P. Haase D-50933 Köln
email@example.com Fon: ++49 221 6903922