うあ、、もうこんな時間。はよねないと。
もうちょっとでごにょごにょ第一弾が完成予定。。。

個人的なメモ:
*** server.c.org Mon Feb 12 06:11:45 2001
--- server.c Mon Jan 8 07:05:45 2007
***************
*** 7,13 ****
#include "uint16.h"
#include "ndelay.h"
#include "socket.h"
- #include "droproot.h"
#include "qlog.h"
#include "response.h"
#include "dns.h"
--- 7,12 ----
*************** int main()
*** 93,102 ****
udp53 = socket_udp();
if (udp53 == -1)
strerr_die2sys(111,fatal,"unable to create UDP socket: ");
! if (socket_bind4_reuse(udp53,ip,53) == -1)
strerr_die2sys(111,fatal,"unable to bind UDP socket: ");
-
- droproot(fatal);

initialize();

--- 92,99 ----
udp53 = socket_udp();
if (udp53 == -1)
strerr_die2sys(111,fatal,"unable to create UDP socket: ");
! if (socket_bind4_reuse(udp53,ip,5553) == -1)
strerr_die2sys(111,fatal,"unable to bind UDP socket: ");

initialize();