I haven't tried this but you should be able to run start_listener multiple times for each server.<br><br><div class="gmail_quote">On Fri, May 11, 2012 at 4:22 PM, AD <span dir="ltr"><<a href="mailto:straightflush@gmail.com" target="_blank">straightflush@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hello,<div><br></div><div> We are looking to implement a flash policy server on our cowboy websocket server. Using websocket-js, the flash swf on the client will communicate over raw TCP socket to get a policy file back. Is there a way to have a cowboy server set up to serve HTTP requests, but to also be able to deal with non-http in the same instance and same port?</div>
<div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>-AD</div>
</font></span><br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br>