PocketIO is a server implementation of SocketIO in Perl.
All the transports are supported.
WebSocket
Adobe® Flash® Socket
AJAX long polling
AJAX multipart streaming
Forever Iframe
JSONP Polling
More information about SocketIO you can find on the website http://socket.io/, or on GitHub https://github.com/LearnBoost/Socket.IO.
In examples/chat
you can find a chat example based on original Socket.IO-node chat.
Just run twiggy
or fliggy
and you are ready to go:
twiggy chat.psgi
sudo flash-policy-server
# or for embedded flash-policy-server
fliggy chat.psgi
And point your browser to http://localhost:3000/
.
For TLS/SSL a secure proxy is needed. stunnel
or App::TLSMe is recommended.
This application is in a very beta stage. API will be probably changed.
Socket.IO author(s) and contributors.
Viacheslav Tykhanovskyi, vti@cpan.org
.
Copyright (C) 2011, Viacheslav Tykhanovskyi
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.