[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: write event on a connection



Hi

I am trying to know about the procedure involved when a connection wants to write data i.e. which functions are called. I have failed to get any documentation on this subject.

-Vishwas

Roger Dingledine wrote:
On Tue, Mar 14, 2006 at 12:22:30AM -0600, Vishwas Vijendra Bhat wrote:
The conn_write_callback is the callback for the write event on a connection. When does a write event occur on a connection? Is there any documentation from where I can understand which event occur and how?

I'm not sure what you're looking for here. A write event occurs when a socket is writable, and we start checking whether it's writable when we have something to write to it. What do you want to know really?

--Roger