[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display-time, mail-icon and POP3 mailboxes
From: |
Kim F. Storm |
Subject: |
Re: display-time, mail-icon and POP3 mailboxes |
Date: |
13 Feb 2002 23:13:48 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 |
Richard Stallman <address@hidden> writes:
> I haven't debugged this specifically with emacs, but in other
> programs, it has been necessary to make connect non-blocking with
> fcntl(s,F_SETFL,O_NONBLOCK) and then use the writefds of select to
> know when the connect has completed (at least on GNU/Linux).
>
> Would you like to write that code?
I could give it a try - but I can only test it on GNU/Linux,
so I will need to make some sensible choices about how to
conditionally support this feature.
I think I will need to test for the availability of HAVE_SELECT,
F_SETFL, O_NONBLOCK, and HAVE_GETPEERNAME (which is used to check
whether the connect actually succeeded).
But that might not work on all systems, so I may need to add a
BROKEN_NON_BLOCKING_CONNECT define which can be set for systems where
this doesn't work (just to be defencive).
There is currently no HAVE_GETPEERNAME check in configure, but I
suppose that can be added (by someone who speaks autoconf :-)
--
Kim F. Storm http://www.cua.dk
- Re: display-time, mail-icon and POP3 mailboxes, (continued)
- Re: display-time, mail-icon and POP3 mailboxes, Pavel JanÃk, 2002/02/10
- Re: display-time, mail-icon and POP3 mailboxes, Kim F. Storm, 2002/02/10
- Re: display-time, mail-icon and POP3 mailboxes, Richard Stallman, 2002/02/11
- Re: display-time, mail-icon and POP3 mailboxes, Kim F. Storm, 2002/02/11
- Re: display-time, mail-icon and POP3 mailboxes, Paul Jarc, 2002/02/12
- Re: display-time, mail-icon and POP3 mailboxes, Kim F. Storm, 2002/02/12
- Re: display-time, mail-icon and POP3 mailboxes, Richard Stallman, 2002/02/13
- Re: display-time, mail-icon and POP3 mailboxes, Kim F. Storm, 2002/02/14
- Re: display-time, mail-icon and POP3 mailboxes, Richard Stallman, 2002/02/15
- Re: display-time, mail-icon and POP3 mailboxes, Richard Stallman, 2002/02/13
- Re: display-time, mail-icon and POP3 mailboxes,
Kim F. Storm <=
- Re: display-time, mail-icon and POP3 mailboxes, Richard Stallman, 2002/02/15