
24 Apr
2008
24 Apr
'08
7:17 a.m.
On Thu, 24 Apr 2008 15:05:44 +0800, "Rommel Martinez" <ebzzry@gmail.com> wrote:
Is there a way to "capture" the server instance of Hunchentoot when I start the server like the following (yes I haven't bound it to a variable using say DEFVAR or DEFPARAMETER):
CL-USER> (hunchentoot:start-server :port 9000) #<HUNCHENTOOT::SERVER {61917E79}>
So that I can do something like the following when I want to stop the server:
CL-USER> (hunchentoot:stop-server *foo*)
What's wrong with (setq *foo* (hunchentoot:start-server :port 9000)) ?