On Thursday, 4 October 2018 at 13:09:17 UTC, bauss wrote:
On Thursday, 4 October 2018 at 13:07:30 UTC, bauss wrote:buffer = buffer[0 .. $]; // Slice the buffer to the actual size of the received data.```Typo... Was supposed to be "received" and not "$"...buffer = buffer[0 .. received]; // Slice the buffer to the actual size
Another typo is "recv" should be "received". That's what happens when you copy-paste from old code.
