On Tue, Apr 20, 2010 at 6:16 PM, Sean Allen <span dir="ltr"><<a href="mailto:sean@monkeysnatchbanana.com">sean@monkeysnatchbanana.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Tue, Apr 20, 2010 at 12:13 PM, Philippe Marschall<br>
<<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>> wrote:<br>
> 2010/4/20 Julian Fitzell <<a href="mailto:jfitzell@gmail.com">jfitzell@gmail.com</a>>:<br>
>> Hi Sean,<br>
>><br>
>> Not sure... I guess we either put the instVar on the abstract ServerAdaptor<br>
>> and ignore it on subclasses that don't support it or you just implement it<br>
>> on the Swazoo adaptor and we pull it up whenever we're ready to implement it<br>
>> elsewhere. I don't think it matters too much, so just do what's easiest. If<br>
>> the ListenerAdaptor is using HTTP internals direectly enough that it's easy,<br>
>> that would be a good reason to pull it up.<br>
>><br>
>> If you feel like chasing up Göran/Giovanni to see about extending Comanche<br>
>> to support it, though, that would be awesome!<br>
>><br>
>> And, yes, it would be nice to have support for it in the control panel if<br>
>> you don't mind. Just default to 0.0.0.0 on creation and add a command to<br>
>> change it I guess?<br>
><br>
> I'd probably put a String (preferably '0.0.0.0' and not '*') in the<br>
> server adapter and do all the conversion and adaptation there. If the<br>
> adapter doesn't support it then just do nothing. It would be nice if<br>
> the status string would reflect the interface the server is listening<br>
> on.<br>
><br>
<br>
</div>I was going to make that status string change.<br>
<br>
So the consensus is to use '0.0.0.0' to represent all interfaces?<br></blockquote><div><br>That is the standard way to represent all interfaces (at least in the *nix world).<br><br>And #listenOn:backlogSize:interface: happily accepts it. Does Swazoo not work with that value... I actually thought I tested it at one point. But in any case, if we're storing a string, yes, I think we should us '0.0.0.0'. Swazoo can either be fixed if it doesn't work with that or its adaptor can convert to '*'.<br>
</div></div><br>Julian<br>