hello. I have a TCP connection, and I keep an open socket. The server sends some json data every few seconds. Is there a way to read the json objects as they come, without waiting for EOF?
jhass: nothing, I imagine something like "loop do; data = read_json(socket); process(data); done"
jhass: so in the meantime I just sleep, preferably blocked in the read function
jhass: yeah, so there's no way to use the end of a toplevel json object as a delimeter?