[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NON_BLOCKING_CONNECT
From: |
Lars Magne Ingebrigtsen |
Subject: |
NON_BLOCKING_CONNECT |
Date: |
Sun, 06 Mar 2016 19:00:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
I was wondering about this:
/* Define NON_BLOCKING_CONNECT if we can support non-blocking connects.
The code can be simplified by assuming NON_BLOCKING_CONNECT once
Emacs starts assuming POSIX 1003.1-2001 or later. */
#if (defined HAVE_SELECT \
&& (defined GNU_LINUX || defined HAVE_GETPEERNAME) \
&& (defined EWOULDBLOCK || defined EINPROGRESS))
# define NON_BLOCKING_CONNECT
#endif
Do we still support any architectures without NON_BLOCKING_CONNECT?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- NON_BLOCKING_CONNECT,
Lars Magne Ingebrigtsen <=