DNS bits and pieces

This is a collection of various bits of open source C code that implement parts of the DNS protocol (rfc 1035), SRV records, Multicast DNS, and Service Discovery (aka dns-sd, or Apple's Rendezvous). Unless otherwise noted in the file, the license is GPL, jabber me at jer@jabber.org to request any other licensing terms if needed.

tinysrv.c
A very basic/rudimentary SRV/A resolver with no dependencies (on libresolv, libc, anything, straight C). Mostly for educational use.
demosrv.c
Uses tinysrv.c as a command line resolver, testing tool.
socket.c
Few basic TCP/UDP socket routines, used by demosrv.c.
1035.c/1035.h
A very minimal implementation of RFC 1035 Messages, both parsing/decoding and generation. Creates a simple struct and is entirely self-contained. Handles en/decoding numerous RR data types (A, PTR, CNAME, SRV, etc) as well.
ichat.c/ichat.h
Some utility functions to process/create Apple's iChat TXT data (soon to be depreciated in favour of normal DNS-SD TXT records).
mcast.c
A bunch of notes and code bits on dealing w/ multicast and particularly system interfaces, a mess to say the least.
[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -
[TXT]1035.c17-Feb-2003 15:42 11K
[TXT]1035.h03-Feb-2003 00:23 3.3K
[TXT]HEADER.html20-Jan-2003 15:13 1.7K
[   ]Makefile17-Feb-2003 01:31 764
[TXT]demosrv.c16-Jan-2003 01:29 1.8K
[TXT]ichat.c26-Jan-2003 04:41 3.8K
[TXT]ichat.h31-Jan-2003 13:50 394
[TXT]ichat_test.c23-Jan-2003 13:45 1.4K
[TXT]ipush.c14-Feb-2003 07:52 1.0K
[TXT]mcast.c23-Jan-2003 17:04 4.0K
[TXT]mdask.c31-Jan-2003 01:22 2.0K
[TXT]mdnsd.c19-Feb-2003 16:10 22K
[TXT]mdnsd.h07-Feb-2003 00:36 3.0K
[TXT]mdnsd_test.c16-Feb-2003 00:11 4.8K
[TXT]mdwatch.c16-Feb-2003 00:11 1.9K
[TXT]mhttp.c17-Feb-2003 15:42 4.2K
[TXT]mprint.c17-Feb-2003 01:31 2.4K
[TXT]mquery.c18-Feb-2003 01:29 3.3K
[TXT]sdtxt.c17-Feb-2003 15:42 1.8K
[TXT]sdtxt.h31-Jan-2003 13:50 275
[TXT]socket.c16-Jan-2003 01:29 4.1K
[TXT]test1035.c22-Jan-2003 12:01 676
[TXT]test_push.c24-Jan-2003 00:36 1.5K
[TXT]tinysrv.c16-Jan-2003 01:29 7.0K

Apache Server at www.jeremie.com Port 80