[erlang-questions] listen to http and non-http tcp connections in cowboy

Eric Moritz <>
Sat May 12 01:55:52 CEST 2012


I haven't tried this but you should be able to run start_listener multiple
times for each server.

On Fri, May 11, 2012 at 4:22 PM, AD <> wrote:

> hello,
>
>  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?
>
> Thanks
> -AD
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120511/ff28fd49/attachment.html>


More information about the erlang-questions mailing list