>Im looking for code that will talk to the dns server >and obtain an ip address for the hostname(don't know >the DNS protocol). basically, I have to re-write that >code for a propreitary TCP/IP stack and am looking for >a minimal piece of code to do the same. thanks for any >help. src/lib/libc/net itojun