Lars Magne Ingebrigtsen <[EMAIL PROTECTED]> writes:

> 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?

Perhaps ext:get-peer-host-and-port ?

> 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...

Don't know about that.

--helmut

Reply via email to