Re: [Libevent-users] TCP client not calling writecb

2013-04-21 Thread Jan Danielsson
27;t really understand what I didn't realize it yesterday. :) -- Kind regards, Jan Danielsson *** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-usersin the body.

[Libevent-users] TCP client not calling writecb

2013-04-20 Thread Jan Danielsson
; in eventcb(). But the client never prints "Write!". Rather than use a writecb(), I tried calling bufferevent_write() just after the bufferevent_socket_connect(), but the data didn't reach the server, which I found to be slightly peculiar. It'

[Libevent-users] Enable/disable write callback for UDP

2013-04-20 Thread Jan Danielsson
udp_event, NULL); --- But I want to disable, and later re-enable, EV_WRITE in the callback function (well, in other functions as well, but I'm guessing the method would be the same regardless). How is this done? -- Kind regards, Jan Danielsson signature.asc Description: OpenPGP digital signature

[Libevent-users] DLL on Windows

2012-10-25 Thread Jan Danielsson
Hello, I figured out one can run "nmake -f makefile.nmake" to get static libraries which may or may not work (according to the makefile). But is there an official way to build DLLs? -- Kind regards, Jan Danielsson

Re: [Libevent-users] event vs bufferevent

2012-07-23 Thread Jan Danielsson
On 07/23/12 07:00, Filipe Miguel Campos Santos wrote: > I know that for writing Data, bufferevents are more suitable because you > need some kind of Output-Buffer from where Data ist partially drained to > the Socket every time the Socket gets ready for writing. > > But why should someone use buf

[Libevent-users] Multithreading -- bev release?

2012-04-21 Thread Jan Danielsson
g bev in a separate thread? (Will it cause do_error() to be called on the base thread?). -- Kind regards, Jan Danielsson *** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-usersin the body.

[Libevent-users] Multithreading

2012-04-10 Thread Jan Danielsson
new to libevent. If there are any radically different ways of doing these things using other means in libevent, feel free to point me to the relevant function names. -- Kind regards, Jan Danielsson *** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-usersin the body.