| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Date: | Fri, 05 Nov 1999 16:40:08 -0600 |
| From: | Ray Easton <ray DOT easton AT wcom DOT com> |
| Subject: | Re: B20.1: socket functions always blocking? |
| To: | cygwin AT sourceware DOT cygnus DOT com |
| Message-id: | <38235CC8.40B96FB@wcom.com> |
| MIME-version: | 1.0 |
| X-Mailer: | Mozilla 4.7 [en] (WinNT; U) |
| X-Accept-Language: | en |
| References: | <38235657 DOT 48928E88 AT sls DOT lcs DOT mit DOT edu> |
Nikko Strom wrote:
> In the attached example, I expected recv to be non-blocking.
> In fact, it seems like all socket functions always block!
All sockets are created in blocking mode. Use ioctl() to put them in nno-blocking mode.
--
ray
-- je suis marxiste, tendance groucho
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |