NOTE that only socket bufferevents support this function.
@param base an event_base returned by event_init()
@param bufev a bufferevent returned by bufferevent_new()
or bufferevent_socket_new()
@return 0 if successful, or -1 if an error occurred
@see bufferevent_new()
Assign a bufferevent to a specific event_base.
NOTE that only socket bufferevents support this function.
@param base an event_base returned by event_init() @param bufev a bufferevent returned by bufferevent_new() or bufferevent_socket_new() @return 0 if successful, or -1 if an error occurred @see bufferevent_new()