Discussion: c-client & IDLE
Afficher un message
Vieux 10/04/2006, 00h23   #8
Mark Crispin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: c-client & IDLE

On Sun, 9 Apr 2006, halayli@gmail.com wrote:
> Please can you define what you mean by "real notification protocol"?


A protocol specifically designed to do push-type notifications of events.
IMAP is a protocol designed to do pull-type retrieval of message data.

These are two very different tasks. It's better to use a protocol that is
designed for the task, rather than one that is designed for a different
task.

Although IMAP seems to have some "push" type aspects (e.g., the
unsolicited announcement of new messages and flag changes in the
currently-selected mailbox), this is secondary to the main task of IMAP
which is to "pull" message data from a currently-selected mailbox.

You defined your task as the server immediately telling you when there are
new messages in several different mailboxes. This is pure "push".

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
  Réponse avec citation
 
Page generated in 0,07635 seconds with 9 queries