<div class="gmail_quote">On Tue, Dec 18, 2012 at 5:29 PM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Nick mentions debugging / monitoring, but I don't understand how you do<br>
that with a write callback (or a read callback, actually, since<br>
reading from a socket will consume the data and make it unavailable<br>
for other readers). You really need to do it at a protocol/transport's<br>
write()/data_received() level.<br></blockquote><div><br>Yeah, monitoring probably falls into the same gather/scatter design model as demultiplexing (receive side) and multi-channel transports (transmit side).<br><br>Cheers,<br>
Nick.<br> </div><div>-- <br></div></div>Nick Coghlan   |   <a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>   |   Brisbane, Australia<br>