[Libevent-users] There's a Libevent IRC channel

2011-06-01 Thread Nick Mathewson
Hi, all! In case anybody's interested, there's a Libevent IRC channel: it's #libevent on irc.oftc.net. It's not terribly active lately, but perhaps mentioning it on-list will change that. :) yrs, -- Nick *** To unsubscribe, sen

[Libevent-users] Send evbuffer to multiple clients

2011-06-01 Thread Joachim Bauch
Hi, what is the best way to pass data from one evbuffer to multiple clients (i.e. other evbuffers)? There seems to be no direct way as the obvious "evbuffer_add_buffer" removes data from the source buffer. For now I use a combination of "evbuffer_pullup" and "evbuffer_add_reference" with my own

Re: [Libevent-users] Query regarding bufferevent_read_buffer

2011-06-01 Thread deepak jain
I got it. Thanks a lot for clarification. :-) DJ On Wed, Jun 1, 2011 at 8:50 PM, Nick Mathewson wrote: > On Tue, May 31, 2011 at 1:40 PM, deepak jain > wrote: > > Hi Nick, > > Thanks a lot for your reply. > > One more doubt about bufferevent. > > As in socket networking programming, Sometimes

Re: [Libevent-users] Query regarding bufferevent_read_buffer

2011-06-01 Thread Nick Mathewson
On Tue, May 31, 2011 at 1:40 PM, deepak jain wrote: > Hi Nick, > Thanks a lot for your reply. > One more doubt about bufferevent. > As in socket networking programming, Sometimes It may require more than one > read/recv in server side for a single write by a client, depending upon > server socket'