Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Thu, 11 Apr 2002 17:07:40 +0200 From: Corinna Vinschen To: cygwin Subject: Re: Wierdness of WSASendTo()?? Message-ID: <20020411170740.B20801@cygbert.vinschen.de> Mail-Followup-To: cygwin References: <200204111417 DOT g3BEHfY06583 AT mx1 DOT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/