[ Cc: back to list ]
On Sat, Mar 19, 2005 at 10:46:12AM +0200, Martins Dzelde wrote:
sorry, but i cannet find where is the resolver code.. nor where is the actual config file located. where should it be?
The particular version of the resolver code which iftop uses is decided by the configure script at compile time. I thought the configure script printed that out, but it looks like it doesn't, necessarily. So, the easiest way to find out is, in the build directory, to type,
grep USE config.h
you'll get output something like this:
/* #undef USE_ARES */ /* #undef USE_FORKING_RESOLVER */ /* #undef USE_GETHOSTBYADDR */ #define USE_GETHOSTBYADDR_R 1 /* #undef USE_GETNAMEINFO */
-- the #define line in this case indicates that that build of iftop uses name-resolution code based on gethostbyaddr_r(3).