On (11 Apr 97) Christian Andersen wrote to Danial Gibson...
CA> The short of the long is, that I found a way to get by it. Not in a
CA> very elegant way, but it works: The basic idea is to only take every 2
CA> messages from the mailslot, when you are reading it, using the MODULUS
CA> (%) function.
I think instead of this, I'd put a serial number in each message. On
the receiving end, keep a counter of the last serial number received.
When you receive a message, check whether you've already received it or
not...
Later,
Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)
|