dyad icon indicating copy to clipboard operation
dyad copied to clipboard

Sends message once per second

Open Triuman opened this issue 6 years ago • 1 comments

I am trying to send a message each 100 ms but client accepts only one message per second. I checked my code. There is no sleep code around. What could be the reason?

Thank you.

Triuman avatar May 23 '18 17:05 Triuman

make sure you call dyad_setNoDelay on your stream to disable nagle's algorithm for your stream.

emekoi avatar Jul 22 '18 01:07 emekoi