Saturday 29 September 2018

Huge noob question, I'm at a loss.

Hey all,​I just picked up node.js and I'm trying to practice messaging between a server and client. I'm sending intentionally segmented JSON messages from the server and having the client reconstruct them. I'm just doing it for practice and to get an intuition of things in general. I'm stuck because I'm sending two JSON messages segmented into four separate connection.write()s, but the last message doesn't seem to be seen/assembled by the client. I'm going crazy and it's probably something dumb/easy. (See attached pic)​If anyone could help, I'd be so happy. Thanks a lot​https://ift.tt/2xUZoCO

Submitted September 29, 2018 at 08:11AM by plantation_slave

No comments:

Post a Comment