Detc is a project mainly written in D, it's free.
Random D language test programs
This repository (detc) is for random tests of various things in D.
Right now there are just a few networking things that may be entirely not very D-ish, I'm unsure. Probably not a good idea to try to emulate in your own code ;)