Array initialization with common base - Best way?

2008-11-08 Thread deadimp
What's a 'good' way to initialize an array of references to classes using a common base? I've tried this and it works: class Base { void func(); } class GoodChild : Base { void func(); } class BadChild : Base { void func(); } //... auto list = [cast(Base)new GoodChild, new BadChild, ...]; I h

Re: whois bulk queries, how to

2008-11-08 Thread Alan Knowles
The whois servers rate limit to stop spammers from farming them.. sleep() is probably your best answer Regards Alan BLS wrote: Hi I want to do bulk queries on whois engines. Everthing works fine for a single request. whois("suneido.com") for instance. The problem is that the whois servers

whois bulk queries, how to

2008-11-08 Thread BLS
Hi I want to do bulk queries on whois engines. Everthing works fine for a single request. whois("suneido.com") for instance. The problem is that the whois servers are disconnecting after 1 request. I know about a few desktop whois apps which are able to do bulk queries.. Questions is what is th