json - How to handle big object sent on socket java? -
I am trying to implement a client-server in Java
and I created a connection between sockets
Send JSON objects as strings on currents
If I have a large object then there is no way to handle it
So I do not have to re-group it because TCP Size of packet size (Do not know that the single object as the customer Is completely transferred or not)
Note: I am using G-son to convert objects into a Jasonan object.
This is a way of handling, so I do not have to recreate it because the limit size of the TCP packet
Just do not have the data to take care of TCP packets size
(Do not know when a Bjekt not yet been completely moved me as a client right now)
Yes, you can. You reach the closing '}', as is the mention of @tefenck
Your question has been set on false assumptions.
Comments
Post a Comment