On Wed, Apr 11, 2018 at 11:58:38PM +0200, Henrik Sarvell wrote:
> Regarding detach, would this be a proper way of doing a server where detach
> is optional?:
> 
> (de server (P H Detach)
>    ...
>    (loop
>       (setq *Sock (listen P))
>       (NIL (fork) (close P))
>       (close *Sock) )
>    (when Detach
>       (detach))
>    ...

Yes, this is a good place, i.e. in the child after a (fork).

♪♫ Alex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to