sample/dns-example.c


Log

Author Commit Date CI Message
Gisle Vanem a3f320e8 2011-11-09T00:17:56 Improve win32 behavior of dns-sample.c codex
Harlan Stenn 7c11e51e 2011-08-27T05:48:11 Clean up some problems identified by Coverity.
Sebastian Hahn 744c7456 2011-04-23T02:20:59 Remote some dead code from dns-example.c Found by Dave Heart
Sebastian Hahn 4bac793e 2011-04-11T18:03:02 Be nice and "handle" error return values in sample code Caught by clang's static analyzer
Nick Mathewson 4eb281c8 2011-02-13T01:29:54 FIX: comment internal headers used in sample code.
Harlan Stenn bbf55150 2011-02-13T01:25:33 Include util-internal.h as needed to build on platforms with no sockaddr_storage
Nick Mathewson ec347b92 2010-07-07T16: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.
Nick Mathewson c7cf6f00 2010-03-05T12: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.
Nick Mathewson d60a1bd5 2010-01-27T01: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.)
Nick Mathewson 625a261a 2009-11-17T02:40:14 OpenBSD demands that sys/types.h be included before sys/socket.h svn:r1539
Nick Mathewson 86f57420 2009-11-16T22: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
Nick Mathewson ae5fbf49 2009-11-05T22:24:21 Actually add the new dns-example.c code. :p svn:r1512