-->
Page 1 of 1

socket:send looses data

PostPosted: Mon Feb 09, 2015 4:44 am
by tve
It looks to me like socket:send() looses data if it's called in rapid succession. What are the semantics of this function? Do I have to wait for the "done" callback before calling it again on the same socket? Or on any socket?

Re: socket:send looses data

PostPosted: Mon Feb 09, 2015 4:51 am
by alonewolfx2
yes you must to wait done calback

Re: socket:send looses data

PostPosted: Mon Feb 09, 2015 5:25 am
by tve
Ouch, that means the buffer will empty each time, which kills performance (no streaming). Is this being fixed?