I am sorry I gave an impression that I was complaining. I just thought it was logical to do so if every server has its own dispatch-table. There is probably a reason why it's done differently so I wanted to understand why.
<br>I am sure, if I come up with something useful I'll make a patch and send it to the list. Currently I am just a beginner trying to learn lisp and you guys are awesome in what you do for the community and for me personally.
<br><br>Thank you,<br>Andrew<br><br><div><span class="gmail_quote">On 4/12/07, <b class="gmail_sendername">Edi Weitz</b> <<a href="mailto:edi@agharta.de">edi@agharta.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, 12 Apr 2007 16:13:20 -0400, "Andrei Stebakov" <<a href="mailto:lispercat@gmail.com">lispercat@gmail.com</a>> wrote:<br><br>> So I need to keep track of all servers that I start and for each one<br>
> return it's dispatch-table something like this?:<br>> (defvar *server1* (start-server :port 3001....)<br>> (defvar *server2* (start-server :port 3002....)<br>> (setq *meta-dispatcher* (lambda (server)<br>
>                             (declare (ignore server))<br>>                             (if (eql server *server1*) *dispatch-table1* *dispatch-table2*)))<br><br>No, you don't have to do it like this.  There are certainly more
<br>intelligent ways to do it.  I'd use something like<br><br>  (lambda (server)<br>    (case (server-local-port server)<br>      (3001 *dispatch-table1*)<br>      (3002 *dispatch-table2*)))<br><br>> Why can't start-server take a dispatch-table as a parameter?
<br><br>Did you read my last reply?<br><br>If there's a feature in an open source project you want to have that's<br>not provided, you can hack it yourself and send a patch, or you can<br>pay someone else to do it, or you can complain about it on the mailing
<br>list.  You can try to figure out yourself which of these alternatives<br>is the most promising.<br>_______________________________________________<br>tbnl-devel site list<br><a href="mailto:tbnl-devel@common-lisp.net">
tbnl-devel@common-lisp.net</a><br><a href="http://common-lisp.net/mailman/listinfo/tbnl-devel">http://common-lisp.net/mailman/listinfo/tbnl-devel</a><br></blockquote></div><br>