Create a buffer event on a socket, stream or a file descriptor. Passing NULL
to socket
means that the socket should be created later, e.g. by means of EventBufferEvent::connect() .
Event base that should be associated with the new buffer event.
May be created as a stream(not necessarily by means of sockets extension)
One of EventBufferEvent::OPT_* constants , or 0
.
Read event callback. See About buffer event callbacks .
Write event callback. See About buffer event callbacks .
Status-change event callback. See About buffer event callbacks .
A variable that will be passed to all the callbacks.
Returns buffer event resource optionally associated with socket resource. */
Please login to continue.