[jdev] Jabberd2, Flash Client and terminator character...
Sean Voisen
listsubscriber at voisen.org
Mon Apr 12 21:16:53 CDT 2004
On Mon, 12 Apr 2004, Ryan Eatmon wrote:
> Does Flash support TCP/IP connections?
No.
> Does Flash support basic string handling?
Of course.
> If the answers to the above are Yes (which I suspect they are), then why
> is the option of someone writing an XMPP library that works they way all
> of the other languages work not discussed?
Such a library exists. I wrote it.
http://www.jabberstudio.org/projects/xiff
Not sure what you mean by "the way all of the other languages work" ...
The problem is this: Flash does not support generic tcp/ip connections. We
are entirely limited to the XMLSocket object that is native in the player
for persistent socket connections. Macromedia is very careful about the
security of the Flash plug-in, so it's doubtful we'll see generalized
TCP/IP any time in the future.
The only other option we have is what LinuxWolf mentioned by using
non-persistent connections over HTTP. I'm looking into that now ...
- Sean
Sean Voisen
Weblog: http://voisen.org
Flash/XMPP: http://xifflabs.com
XIFF 2.0: http://www.jabberstudio.org/projects/xiff
More information about the JDev
mailing list