Re: [Libevent-users] bufferevent with custom IO

2012-09-05 Thread Nick Mathewson
On Wed, Sep 5, 2012 at 5:14 AM, Joachim Bauch wrote: > Hi, > > I'm looking for a way to implement a bufferevent that uses a custom API > to read/write data to the network - similar to what the SSL bufferevent > does with the OpenSSL BIO. > > Any hints on what would be the best way to implement thi

[Libevent-users] bufferevent with custom IO

2012-09-05 Thread Joachim Bauch
Hi, I'm looking for a way to implement a bufferevent that uses a custom API to read/write data to the network - similar to what the SSL bufferevent does with the OpenSSL BIO. Any hints on what would be the best way to implement this? The easiest solution I came up was to copy most of bufferevent_