delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/11/17:38:41

X-Spam-Check-By: sourceware.org
Date: Thu, 11 May 2006 17:38:28 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: res_search problem
Message-ID: <20060511213828.GA10063@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20060511213519 DOT GA13688 AT lucent DOT com>
Mime-Version: 1.0
In-Reply-To: <20060511213519.GA13688@lucent.com>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Thu, May 11, 2006 at 04:35:19PM -0500, Peter Fales wrote:
>I'm trying to port some code which uses res_search() to look up an SRV
>record.   The attached code works on Linux, Solaris, HP-UX, Darwin, and 
>Irix, but doesn't work on Cygwin.   I'm not a DNS expert but this test
>case is derived from code at:
>
>http://www.libspf.org/doxygen/html/dns_8c-source.html
>http://www.waider.ie/hacks/workshop/c/rvp/librvp-0.9.tar.gz
>
>Am I missing something fundamental, or is res_search not working?  (In
>ethereal I can see the question being sent and the correct response coming
>back - but the correct string does not seem to be in the buffer returned
>from res_search().)   Can someone point to an example of using 
>res_search() under Cygwin?

AFAIK, Cygwin does not provide a res_search() function.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019