I have proxy (in java) that will push data that i need.. When i still use WebSocket technology, it can handle the data well. I got one data per time. Well, for some reason i can't use WebSocket anymore, so i changed to APE. But, the data that i get is not like what i expected..
with WebSocket, based on method SEND in this code [ http://www.java2s.com/Open-Source/Android/Network/picture-history/net/tootallnate/websocket/WebSocket.java.htm ] i got one data per time: read : NAME|ani read : NAME|alan read : NAME|budi read : NAME|caca read : NAME|chandra i went to wiki n find this, "The data is minimally framed with just two bytes. Each frame starts with a 0x00 byte, ends with a 0xFF byte, and contains UTF-8 data in between." If you look at method SEND you will know what this mean. But with APE, i got the data like this : read : NAME|aniNAME|alanNAME|budi read : NAME|cacaNAME|chandraNAME|davidNAME|erni This makes the data hard to handle. I want the data to be like when i used WebSocket, which is one per time. Do you have any idea how do i fixed this? And do APE has Start and End Frame too? -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
