kc3-lang/libevent/sample/dns-example.c

Branch :


Log

Author Commit Date CI Message
a3f320e8 2011-11-09 00:17:56 Improve win32 behavior of dns-sample.c codex
7c11e51e 2011-08-27 05:48:11 Clean up some problems identified by Coverity.
744c7456 2011-04-23 02:20:59 Remote some dead code from dns-example.c Found by Dave Heart
4bac793e 2011-04-11 18:03:02 Be nice and "handle" error return values in sample code Caught by clang's static analyzer
4eb281c8 2011-02-13 01:29:54 FIX: comment internal headers used in sample code.
bbf55150 2011-02-13 01:25:33 Include util-internal.h as needed to build on platforms with no sockaddr_storage
ec347b92 2010-07-07 16:45:03 Move event-config.h to include/event2 This change means that all required include files are in event2, and all files not in event2/* are optional.
c7cf6f00 2010-03-05 12:47:46 Replace users of "int fd" with "evutil_socket_t fd" in portable code Remeber, win32 has a socket type that's actually a handle, so if there's a chance that code is run on win32, we can't use "int" as the socket type. This isn't a blind search-and-replace: sometimes an fd is really in fact for a file, and not a socket at all.
d60a1bd5 2010-01-27 01:46:41 Clarify status of example programs (That is, add comments to say that dns-example and le-proxy are recent and ugly; event-test is old and ugly.)
625a261a 2009-11-17 02:40:14 OpenBSD demands that sys/types.h be included before sys/socket.h svn:r1539
86f57420 2009-11-16 22:25:46 Add two implementations of getaddrinfo: one blocking and one nonblocking. The entry points are evutil_getaddrinfo and evdns_getaddrinfo respectively. There are fairly extensive unit tests. I believe this code conforms to RFC3493 pretty closely, but there are probably more issues. It should get tested on more platforms. This code means we can dump the well-intentioned but weirdly-implemented bufferevent_evdns and evutil_resolve code. svn:r1537
ae5fbf49 2009-11-05 22:24:21 Actually add the new dns-example.c code. :p svn:r1512