[hunchentoot-devel] Full-duplex socket connections in Hunchentoot
Rafał Strzaliński
nablaone at gmail.com
Fri Oct 5 16:32:11 UTC 2007
On 10/5/07, Wouter Van den Broeck <wouter at csl.sony.fr> wrote:
> Hello,
>
> I'm considering using Hunchentoot as a server for client applications
> that connect with the server over full-duplex http socket connections
> (such as Flash applications using XMLSocket). The general idea is
> that the server can send messages to the client at its own initiative
> and not only as a reply to a request.
>
> Having looked at the documentation and some aspects of the code, I
> gather that there is no such functionality by default, but that it
> should not be too difficult to integrate in Hunchentoot.
>
> If possible could you please roughly outline what you would consider
> to be a 'good' approach to attain this objective such that it would
> nicely fit in the existing design philosophy?
According to this documentation:
http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary860.htm
XMLSocket is not a HTTP based protocol. So instead using Hunchentoot ,
you should consider writing your own socket server. XMLSocket protocol
is quite simple, it should be hard.
--
Best regards,
Rafal Strzalinski (nabla)
http://nablaone.net
More information about the Tbnl-devel
mailing list