I am currently writing java client and server chat application using socket programming in which I am exchanging data using JSON objects.When I try to store byte array containing encrypted data, and sends udp data packet from client to server, byte data gets corrupted.
As per few posts, JSON object cannot handle byte array data. So is there any way by which I can send multiple encrypted data byte arrays using UDP packet from client to server?