forks/pipes and std.socket

Steven Schveighoffer schveiguy at yahoo.com
Fri Sep 10 07:05:14 PDT 2010


On Thu, 09 Sep 2010 18:29:55 -0400, Nick Sabalausky <a at a.a> wrote:


> Maybe the OS is just allowing me to use the wrong file descriptor?

OK, after downloading the latest dmd, testing your code, and perplexing a  
while, then reading the source of phobos, I realized that you are using  
std.stream.File, not std.stdio.File.  The former is being deprecated for  
the latter.

Yes, std.stream.File will work.  But std.stdio.File is what is going to be  
supported.  std.stream is scheduled for deprecation.

-Steve


More information about the Digitalmars-d-learn mailing list