Proposal: add :host keyword to create-server.

Frank fau at riseup.net
Wed Sep 4 18:51:08 UTC 2013


Ahh I was wondering.

Anyways I still think it would make sense to have control over the
address.

For example I start a swank server in a virtual windows machine and need
to bind it to the virtual network interface given by qemu (which can't
be seen outside the physical host), so there would be no need for a ssh
setup.

The way I do it now is:
(let ((swank::*loopback-interface* "10.0.2.2"))
  (create-server))
Which is not nice as *loopback-interface* is not exported.

I would rather prefer to do:
(create-server :host "10.0.2.2")
Which I think is a clean solution.

-Frank


On Wed, 2013-09-04 at 14:26 -0400, Zach Beane wrote:
> Frank <fau at riseup.net> writes:
> 
> > Hello,
> >
> > Currently create-server binds to *loopback-interface* which happens to
> > be "127.0.0.1".  BTW: *loopback-interface* is not exported, maybe it
> > should?
> >
> > For remote access binding to the loopback is not really helpful.  
> 
> The usual way to do it is via a secure tunnel, e.g. with ssh.
> 
> Zach
> 





More information about the slime-devel mailing list