In which format Corona sdk send data using SendUpdatePeers to Java Server

0 votes

I am using SendPeersUpdate to send data to Server, But I am confuse in which format I should send, Because Java Server recieved in byte array format.

Please help me.


asked Aug 20, 2015 in AppWarpS2 by imtiyaz.itengg (20 points)

1 Answer

+1 vote
Hi Imtiyaz,

SendUpdatePeers method is for sending messages in binary format, and hence you are receiving it in Byte array.

If you dont want to use binary format then you can use sendChat method which accepts normal strings.

Let me know if you have any further queries.

answered Aug 20, 2015 by rajeev.etc (1,660 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on