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

Reply via email to