I'm writing an NNTP server in Common Lisp (for Gmane (see
http://gmane.org/)), and I'm using CMUCL as the platform, and I'll
now commence annoying you with stupid questions.

I'm listening to connections with
CREATE-INET-LISTENER/ACCEPT-TCP-CONNECTION, which works fine.  But I
need to find out what the IP address of the client is (for
authentication and stuff), and I can't seem to find any way to query
CMUCL for that.  So what's the magic function?

I also need to bind port 119.  That can either be done with
capabilities, or by using the time-honored
start-as-root-and-then-change-uid method.  Now, CMUCL has
UNIX:UNIX-SETREUID, which I can presumably use for that purpose, but
I thought I'd just ask whether there are any pitfalls (beyond the
obvious) of starting CMUCL as root...

-- 
(domestic pets only, the antidote for overdose, milk.)
   [EMAIL PROTECTED] * Lars Magne Ingebrigtsen


Reply via email to