This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wierdness of WSASendTo()??


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@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]