I don't understand “must first ensure that the front of the buffer
really is contiguous”.
I can get 100 bytes from evbuffer by evbuffer_pullup() or evbuffer_remove().
evbuffer_pullup():get some contiguous data.
evbuffer_remove():get some discontinuous data???
Some discontinuous data??Why we need
I wanted some linux code work in the windows.This is a multi
thread program.I hope that the parent thread and child thread to pass data
through the pipe.
But no file descriptor in windows.The CreatePipe function can creat a pipe
with read HANDLE and write HANDLE.But libevent don't konw HANDLE.I can
Thank you.It was compiled successfully.
2013/1/12 Dodd, Timothy
> Looks like you need to link against the winsock library (Ws2_32.lib).
>
> tim
>
> From: simon zhang
> Reply-To: "libevent-us...@freehaven.net"
> Date: Friday, January 11, 2013 2:28 PM
>
I compile the code as DLL in winxp with libevent.The compiler is msvc90.But
It have some error as the following:
evsig_init:socketpair:Successful WSAStartup not yet performed
[WSANOTINITIALISED]
How to make it work correctly?
I have tried to compile in mingw and have the same error.
The dll is a
n runtime winsock errors here:
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx
> .
>
> Hope this helps,
> Tim
>
> From: simon zhang
> Reply-To: "libevent-us...@freehaven.net"
> Date: Monday, January 14, 2013 12:48 PM
> To: &