Network in phobos
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sun Mar 28 15:43:22 PDT 2010
On 03/28/2010 05:07 PM, BCS wrote:
> Hello Adam,
>
>> Something that I think would be nice is being able to treat a network
>> connection the same way we can work with files and stdin.
>
> how about this:
>
> http://www.digitalmars.com/d/1.0/phobos/std_socketstream.html
> or
> http://www.digitalmars.com/d/2.0/phobos/std_socketstream.html
I think Adam's implementation is more interesting because it integrates
with File and consequently with the ranges that will come on top of it
(e.g. byCharacter, byLine, byChunk).
Thanks Adam. If you're willing to make your implementation available to
Phobos, you may want to put it in bugzilla.
Andrei
More information about the Digitalmars-d
mailing list