node-json-socket icon indicating copy to clipboard operation
node-json-socket copied to clipboard

Implement functionality to omit length delimiter

Open RicardoMonteiroSimoes opened this issue 5 years ago • 0 comments

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.

RicardoMonteiroSimoes avatar Jan 28 '20 18:01 RicardoMonteiroSimoes