Network I/O and streaming in D2

Walter Bright newshound2 at digitalmars.com
Tue Jun 29 23:02:12 PDT 2010


Adam Ruppe wrote:
> My network thing is very simple: it opens a socket, then wraps it up
> in a File struct, via FILE*. Then, you can treat it the same way.

That's the traditional way to do it, but I'm not so sure it's the right way for 
the future. Wouldn't it be better to have an interface to it that is a range, 
rather than pretend it's a FILE* ?


More information about the Digitalmars-d mailing list