2011-11-01, 09:30
jimk72 Wrote:I fixed all the probs I was having. it was delays in the network that would break the returned json into seperate parts. I now use multiple strings to wait until the complete json is recieved then pass it to the json object parser.
Its rather common on socket connections that you might not get data in "chunks" and not neatly packaged per json object http abstracts this away however by always giving http packages (which will in jsonrpc contain one json rpc result (batched or not))