std.socket tutorials? examples?

bauss jj_1337 at live.dk
Thu Oct 4 13:09:17 UTC 2018


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


More information about the Digitalmars-d-learn mailing list