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

0 votes
Hi,

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.

 

Thanks
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.

Thanks.
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 support@shephertz.com
...