[Libevent-users] evhttp client and IPv6

2013-02-14 Thread Grega Kres
Hello, I've written a simple program to get data off HTTP servers. The gist of it is here: https://gist.github.com/gkres/4952640 It works as expected with ipv4, but I can't get it to work with ipv6. I searched around a bit and I'm getting mixed answers about if this is possible. The libevent 2.0

Re: [Libevent-users] evhttp client and IPv6

2013-02-14 Thread Alexey Ozeritsky
  14.02.2013, 17:17, "Grega Kres" :Hello,I've written a simple program to get data off HTTP servers. The gist of it is here: https://gist.github.com/gkres/4952640 It works as expected with ipv4, but I can't get it to work with ipv6. I searched around a bit and I'm getting mixed answers about if thi

Re: [Libevent-users] winsock error strings: evutil_socket_error_to_string versus FormatMessage

2013-02-14 Thread Nick Mathewson
On Thu, Feb 7, 2013 at 8:38 PM, Patrick Pelletier wrote: > I noticed the following comment in evutil_socket_error_to_string in > evutil.c: > > /* Is there really no built-in function to do this? */ > > The answer is yes, the built-in function FormatMessage will do this for you. > I'm happy to

Re: [Libevent-users] evhttp client and IPv6

2013-02-14 Thread Patrick Pelletier
I recently went through a similar experience of trying to get evhttp to work as a client with IPv6. This evolved in the thread "evhttp client error handling". Some of the most important posts in the thread are: http://archives.seul.org/libevent/users/Nov-2012/msg00015.html http://archives.seu