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: Fri, 12 Apr 2002 13:41:38 +0200 From: Corinna Vinschen To: cygwin Subject: Re: Wierdness of WSASendTo()?? Message-ID: <20020412134138.Y1127@cygbert.vinschen.de> Mail-Followup-To: cygwin References: <20020411170740 DOT B20801 AT cygbert DOT vinschen DOT de> <200204111630 DOT g3BGUbY24651 AT mx1 DOT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204111630.g3BGUbY24651@mx1.redhat.com> User-Agent: Mutt/1.3.22.1i On Thu, Apr 11, 2002 at 10:33:53AM -0600, Mark Paulus wrote: > Ok, I have done some browsing, and now I'm totally > confused. > > According to Microsoft, there are 2 headers and libraries: > winsock.h > Ws2tcpip.h > > Since I can seem to use the IP_HDRINCL macro, I am picking > ws2tcpip.h file. Don't include winsock.h and friends if you're using Cygwin sockets. Just include and all these POSIX schtuff. If you don't get IP_HDRINCL included that way, it's a leak in our headers (shouldn't that be in in.h?). For testing, just define IP_HDRINCL as 2 in your source file. 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/