Hi Rob,

On Tue, 19 May 2015 00:18:38 +0200
Rob Coops <rco...@gmail.com> wrote:

> Hi all,
> 
> I'm working on a simple (or so I thought) project to build a websocket
> server that broadcasts data the server receives via a telnet connection.
> 
> So a telnet connection is easily setup and messages are simple to relay to
> any file handle.
> 
> But now comes the harder part.
> A websocket server seems to generally be build to do one thing and one
> thing only in perl and that is respond to incoming data. Running in an
> infinite loop attaching event handlers to data that is received.
> At least Net::Websocket::Server works that way.
> 
> Could any of you advice me a better library? I don't mind having to mess
> about with Protocol::Websocket myself but if there is a good lightweight
> library out there (not forcing me to install tons and tons of other
> libraries would be good) I would much rather use that.
> 
> Thanks for any help pointer or tips.

I heard of people using Mojolicious to serve websockets:

https://metacpan.org/release/Mojolicious

I have no first hand experience with it or any other websocket solution.

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
List of Portability Libraries - http://shlom.in/port-libs

Emacs is a nice operating system, but what it lacks, in order to compete with
Linux, is a good text editor.
    — based on http://en.wikiquote.org/wiki/Emacs

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to