"Michael Sweet" wrote:
> ... How do I know what events the client hasn't already
> received? Do I keep all events that haven't timed out, and every time
> a new poll comes in I send all active events? That will mean that a
> client that polls more often than the event timeout period will get
> duplicates! (definitely *not* what I'd expect!)
Actually, the client will receive duplicate events when it polls faster
that the event timeout interval (which it must do to not lose events).
There's a timestamp in each event, which the client must use to discard
duplicates.
Marty