Announcing Elembuf
H. S. Teoh
hsteoh at quickfur.ath.cx
Tue Dec 18 15:36:01 UTC 2018
On Tue, Dec 18, 2018 at 08:00:48AM +0000, Cyroxin via Digitalmars-d-announce wrote:
> [...] While the focus of this library is in socket receival, reading
> from a file doesn't seem to be bad either.
[...]
Ahh, I see. I thought the intent was to read from a file locally. If
you're receiving data from a socket, having a circular buffer makes a
lot more sense. Thanks for the clarification. Of course, a circular
buffer works pretty well for reading local files too, though I'd
consider its primary intent would be better suited for receiving data
from the network.
T
--
Doubtless it is a good thing to have an open mind, but a truly open mind should be open at both ends, like the food-pipe, with the capacity for excretion as well as absorption. -- Northrop Frye
More information about the Digitalmars-d-announce
mailing list