X-Spam-Check-By: sourceware.org Date: Thu, 11 May 2006 17:38:28 -0400 From: Christopher Faylor 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/