From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16585 invoked by alias); 22 Jan 2009 11:14:44 -0000 Received: (qmail 16574 invoked by uid 22791); 22 Jan 2009 11:14:44 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Jan 2009 11:14:37 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 77FB36D4183; Thu, 22 Jan 2009 12:14:26 +0100 (CET) Date: Thu, 22 Jan 2009 11:43:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: mtr under cygwin Message-ID: <20090122111426.GB17948@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20090121225543.GA28241@panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090121225543.GA28241@panix.com> User-Agent: Mutt/1.5.17 (2007-11-01) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-01/txt/msg00663.txt.bz2 On Jan 21 17:55, David Arnstein wrote: > I am able to compile mtr 0.75 under Cygwin, see > http://www.bitwizard.nl/mtr/. > > But mtr is not working. Using ddd, I see that the call > getsockname (recvsock, name, &len); > > does not seem to be filling in name correctly, when recvsock=3. It > fills in name->sa_family = 0. > > Any suggestions? Debugging might help. getsockname usually works fine. If you're not using AF_LOCAL sockets, it's a more or less thin shim for the Winsock getsockname function. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/