[jdev] Flash and Jabber 2.0 (again...)

dlb civintel at comcast.net
Fri Oct 29 09:23:34 CDT 2004


I don't know about the state of the proxy, but have looked into this issue.
Basically, the Flash player doesn't transmit a well formed xml stream. It
appends a null terminator to each stream fragment written to the socket.
IIRC 1.2's handling of these connections is demonstrated in mio.c , check
CVS.
It shouldn't be too difficult to implement a simple proxy/gateway to
accomplish this - you basically need a pipe that'll intermediate the stream
between the Flash client and Jabberd which strips the null byte to the
server and imposes one in the Flash-bound leg. Try the jdev archive as well,
it's all layed out in the relevant threads.

Good luck

 







More information about the JDev mailing list