PDA

View Full Version : flash truncates xml payloads ....


fantasio
01-17-2005, 07:34 PM
hi there,

i just finished a flash multiplayer game which so far works kinda ok, but we have a big problem:


for the game we deleveloped our own perl-based mp - server
the communication is done via wddx/xml


now the problem:
sometimes for no apparent reasons flash does not send the xml payload in one but sends two payloads...


this of course leads to big trouble

is this a known common issue ?
is there a solution ?

any help greatly welcome !!

tia

tvwonline
01-26-2005, 05:35 AM
I had something similar once, the xml was cut on the "&" symbol, so I had to escape the data before adding it to the xml.

Not sure if this applies to you but I thought I'd mention it anway

fantasio
01-26-2005, 03:27 PM
hi,

since wddx is basically a de/serializer i wouldn have that "&" problem.

also i have to make clear that i'm talking about an xml socket connection.

basically i did a fuction that repairs the split payloads, so i don't care anymore who did the splitting :)

cheers