I wish I had thought just another moment before asking that ;-)
Thanks for the generous answer.
I know the best answer is to learn C, TCP/IP, etc. properly, instead of
'groping in the dark' with scripting languages.
On Mon, Apr 6, 2009 at 10:04 PM, Nick Mathewson wrote:
> On Mon, Apr 06, 2009
On Mon, Apr 06, 2009 at 01:38:44PM -0700, Phoenix Sol wrote:
> Thanks, Nick.
>
> Is zero-copy possible at all with the current libevent? (I already assumed
> it wouldn't work with bufferevent)
If you mean, just using the regular event_base interface, without any
bufferevent or evbuffer interface
On Mon, Apr 06, 2009 at 11:12:10AM -0700, Phoenix Sol wrote:
> Is it alright to call evbuffer_readline() on a buffevent's evbuffer?
> ( Or any of the other evbuffer functions for that matter? )
You can do nearly anything with the evbuffers. I think the only
limitations right now are that you shou
Thanks, Nick.
Is zero-copy possible at all with the current libevent? (I already assumed
it wouldn't work with bufferevent)
On Mon, Apr 6, 2009 at 11:17 AM, Nick Mathewson wrote:
> On Mon, Apr 06, 2009 at 11:12:10AM -0700, Phoenix Sol wrote:
> > Is it alright to call evbuffer_readline() on a
Is it alright to call evbuffer_readline() on a buffevent's evbuffer?
( Or any of the other evbuffer functions for that matter? )
I'm wrapping bufferevents with a python 'socket module' interface, and must
accomadate a 'fileobject' interface, which implements readline.
Also, I want to keep copying