delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/11/11:10:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 11 Apr 2002 17:07:40 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: Wierdness of WSASendTo()??
Message-ID: <20020411170740.B20801@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <200204111417 DOT g3BEHfY06583 AT mx1 DOT redhat DOT com>
Mime-Version: 1.0
In-Reply-To: <200204111417.g3BEHfY06583@mx1.redhat.com>
User-Agent: Mutt/1.3.22.1i

On Thu, Apr 11, 2002 at 08:20:59AM -0600, Mark Paulus wrote:
> MTR believes it's sending out a good ICMP packet of 64 bytes (0x40).
> cygwin_sendto() also thinks it's sending out 64 bytes (as reported by strace).
> 
> However, tcpdump on my linux box is receiving 84 bytes.  
> 
> What it looks like to me is that somehow WSASendTo is re-formatting 
> the packet that is going out.  But, this
> turns it into an invalid packet, and causes a "network unreachable" error
> on the linux box, and the response never comes back.
> 
> Has anyone seen this behaviour before??

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/wsanxref_8xo2.asp

Look for IP_HDRINCL.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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