node-json-socket
node-json-socket copied to clipboard
Implement functionality to omit length delimiter
I'd like to put this idea up for discussion. It would be a basic parameter for most functions, that defaults to true
as to not break existing code. Supplying a false
value to it would omit the length delimiter.
Please correct me if I am wrong, but considering the background application runs on TCP you don't need to add said prefix to the message, as TCP handles fragmentation and rebuilding of fragmented packets just fine.