[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: timeouts, select, dispatch
From: |
Frederic Gobry |
Subject: |
Re: timeouts, select, dispatch |
Date: |
Mon, 11 Nov 2002 09:40:01 +0100 |
User-agent: |
Mutt/1.4i |
> Not sure what you meant by "atomic" in POP3 there is no way to
> get one header(say From: or To:) but to download the entire headers of
> the message.
I meant atomic in the sense of a unique call to mailutils that will
perform a series of POP3 commands and return a result.
> you can set the flag to be MU_STREAM_NONBLOCK when you mailbox_open(..)
> it is an or value. But the disavantage is that many calls can
> return EAGAIN, and it is up to you to recall the function after
> doing a select(stream_get_fd(), ...) on the fd.
Ok. But once a command (say TOP 1 0) is sent to the server, and there
is a delay for the answer, the command will return EAGAIN. But then,
calling the function again will reissue the TOP command ? Or is there
a track of pending calls ?
Frédéric
pgpXZAn5ZzDbk.pgp
Description: PGP signature
- timeouts, select, dispatch, Frederic Gobry, 2002/11/07
- Re: timeouts, select, dispatch, Alain Magloire, 2002/11/08
- Re: timeouts, select, dispatch, Sergey Poznyakoff, 2002/11/08
- Message not available
- Re: timeouts, select, dispatch, Frederic Gobry, 2002/11/08
- Re: timeouts, select, dispatch, Alain Magloire, 2002/11/08
- Re: timeouts, select, dispatch,
Frederic Gobry <=
- Re: timeouts, select, dispatch, Alain Magloire, 2002/11/11
- Message not available
- Re: timeouts, select, dispatch, Frederic Gobry, 2002/11/11
- Re: timeouts, select, dispatch, Alain Magloire, 2002/11/11