[Libevent-users] libevent + curl

2012-10-22 Thread John Dunn
I'm trying to modify the hiperfifo.c example included in libcurl (http://curl.haxx.se/libcurl/c/hiperfifo.html ) to use libevent 2.0.20 and had a few questions. I know the originator of this code is the libcurl people but I figured this would be a better place to ask since the questions are more

RE: [Libevent-users] libevent + curl

2012-10-23 Thread John Dunn
From: owner-libevent-us...@freehaven.net [mailto:owner-libevent-us...@freehaven.net] On Behalf Of Mark Ellzey Sent: Monday, October 22, 2012 6:06 PM > Post the resulting code somewhere. I've posted the code here - http://pastebin.com/REca0BTq. I've modified the original allow me to add multiple

[Libevent-users] UDP Support

2012-12-12 Thread John Dunn
Has there been any progress on UDP support in libevent? The last mention I can find in the email list is from Dec 2010. It sounded like supporting unconnected sockets was going to be difficult in 2.0.x - will any of the changes in 2.1.x make this easier? I'm not familiar enough with libevent t

RE: [Libevent-users] UDP Support

2012-12-12 Thread John Dunn
On Wednesday, December 12, 2012 12:12 PM Nick Mathewson wrote > I'm pretty sure John is asking about UDP support under bufferevents. Actually I was looking for any UDP support - it doesn't have to necessarily use bufferevents. I've figured out how to get UDP working with writing my own socket in

[Libevent-users] event shutdown/cleanup

2013-01-30 Thread John Dunn
I have a socket server which allocates memory for each connection. If there's an error on the socket it's easy for me to delete any memory associated with the connection. I also need to shutdown the eventbase from another thread which needs to close the listener socket, close all currently open