node-discover icon indicating copy to clipboard operation
node-discover copied to clipboard

Message size issues

Open ColonelBundy opened this issue 10 years ago • 3 comments

I have an array of objects, the contents does not really matter but as soon as the array length goes over 30 it wont send at all.

Could this be an issue of the encryption methods? or because its UDP?

ColonelBundy avatar Feb 28 '16 22:02 ColonelBundy

It's a limititation of the size of the udp packet. The module does not yet do message recombining. There is a branch that uses datagram-stream which could probably be adapted to use a json-stream module to handle that. Eventually I will solve this problem if no one else does.

wankdanker avatar Feb 29 '16 01:02 wankdanker

Would be great if you could get this done asap! :)

ColonelBundy avatar Feb 29 '16 15:02 ColonelBundy

+1

roccomuso avatar Jan 04 '17 01:01 roccomuso