delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/09/05:04:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_20
X-Spam-Check-By: sourceware.org
Message-ID: <49B4E952.3050003@mrc-lmb.cam.ac.uk>
Date: Mon, 09 Mar 2009 10:02:58 +0000
From: "T. Horsnell" <tsh AT mrc-lmb DOT cam DOT ac DOT uk>
User-Agent: Thunderbird 2.0.0.18 (X11/20081119)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: MSG_DONTWAIT on recvfrom
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I'm trying to use recvfrom in non-blocking mode with the MSG_DONTWAIT flag,
and I get an undefined name for MSG_DONTWAIT at compile time.
A trawl through the mail archives gave a reference to this in 2001
which said:

"Download the source for cygwin1.dll and implement MSG_DONTWAIT"

Is this still the case (I have a recent cygwin with cygwin1.dll 1.5.25)
or is there a more straightforward fix?

Thanks,
Terry

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019