I've implemented a TWSocket client using a state machine, but after I send the
data using SendStr(), the OnDataSent() event gets fired twice. I've confirmed
that the data I'm sending is being put into a single buffer (it's 527 bytes),
so I don't understand why the OnDataSent() method is being
Doug Billi wrote:
> I've implemented a TWSocket client using a state machine, but after I
> send the data using SendStr(), the OnDataSent() event gets fired
> twice.
That is normal behaviour. After a Connect two select messages are received from
winsock, FD_Connect and FD_Write. The latter trig