Message26965
Logged In: YES
user_id=516066
Ok thanks. The example with handle_connect() is just one out of many btw: in
general, don't run code after push() which uses or assumes data which
handle_error() cleans up.
There are indeed cases in which initiate_send() in a push() is practical. Aside
from throughput issues, sending heartbeat messages or streaming data from
another thread using a timer doesn't work without initiate_send, because the
data wouldn't be sent until select() in the main thread feels like returning.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:36:28 | admin | link | issue1370380 messages |
2007-08-23 14:36:28 | admin | create | |
|