On Tue, Apr 20, 2010 at 6:16 PM, Sean Allen <span dir="ltr">&lt;<a href="mailto:sean@monkeysnatchbanana.com">sean@monkeysnatchbanana.com</a>&gt;</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>
&lt;<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>&gt; wrote:<br>
&gt; 2010/4/20 Julian Fitzell &lt;<a href="mailto:jfitzell@gmail.com">jfitzell@gmail.com</a>&gt;:<br>
&gt;&gt; Hi Sean,<br>
&gt;&gt;<br>
&gt;&gt; Not sure... I guess we either put the instVar on the abstract ServerAdaptor<br>
&gt;&gt; and ignore it on subclasses that don&#39;t support it or you just implement it<br>
&gt;&gt; on the Swazoo adaptor and we pull it up whenever we&#39;re ready to implement it<br>
&gt;&gt; elsewhere. I don&#39;t think it matters too much, so just do what&#39;s easiest. If<br>
&gt;&gt; the ListenerAdaptor is using HTTP internals direectly enough that it&#39;s easy,<br>
&gt;&gt; that would be a good reason to pull it up.<br>
&gt;&gt;<br>
&gt;&gt; If you feel like chasing up Göran/Giovanni to see about extending Comanche<br>
&gt;&gt; to support it, though, that would be awesome!<br>
&gt;&gt;<br>
&gt;&gt; And, yes, it would be nice to have support for it in the control panel if<br>
&gt;&gt; you don&#39;t mind. Just default to 0.0.0.0 on creation and add a command to<br>
&gt;&gt; change it I guess?<br>
&gt;<br>
&gt; I&#39;d probably put a String (preferably &#39;0.0.0.0&#39; and not &#39;*&#39;) in the<br>
&gt; server adapter and do all the conversion and adaptation there. If the<br>
&gt; adapter doesn&#39;t support it then just do nothing. It would be nice if<br>
&gt; the status string would reflect the interface the server is listening<br>
&gt; on.<br>
&gt;<br>
<br>
</div>I was going to make that status string change.<br>
<br>
So the consensus is to use &#39;0.0.0.0&#39; 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&#39;re storing a string, yes, I think we should us &#39;0.0.0.0&#39;. Swazoo can either be fixed if it doesn&#39;t work with that or its adaptor can convert to &#39;*&#39;.<br>

</div></div><br>Julian<br>