how would I go about creating a Socket receiveAll method?

Ali Çehreli acehreli at yahoo.com
Tue Dec 12 22:04:58 UTC 2017


On 12/12/2017 01:52 PM, Ali Çehreli wrote:

 >  > ubyte[] result;
 >  > ubyte[1024] buffer;

 >  >     result ~= buffer[0 .. got];

 > The same buffer is used for all segments

Not! Ok, I better go take a nap. :)

Ali



More information about the Digitalmars-d-learn mailing list