Andrew Stitcher wrote:
[snip]
So to recast these states:

In queue:

1. No messages queued
    get callback informing connection writable:
        do nothing (there's nothing to write)
        goto state 1
    receive messages to queue:
        set connections to monitor writability
        goto state 2

2. Queued messages
    get callback informing connection writable:
        queue all messages for write
        goto state 1

I think that's all you need here.

Is what I'm talking about becoming clear?

Yup, we're in full agreement.

Reply via email to