Re: Getting the socket information from HTTP and DNS sessions

2015-03-05 Thread Ali Çehreli via Digitalmars-d-learn
On 03/04/2015 11:46 PM, Kadir Erdem Demir wrote: I have been ask to write a test tool which initiates DNS-HTTP-HTTPS-TCP sessions. And ofcourse I wrote this with D. For HTTP I used std.net like "m_HTTP = HTTP(m_url);m_HTTP.perform();" For DNS I simply used "getAddressInfo(m_domainName);" Than

Getting the socket information from HTTP and DNS sessions

2015-03-04 Thread Kadir Erdem Demir via Digitalmars-d-learn
I have been ask to write a test tool which initiates DNS-HTTP-HTTPS-TCP sessions. And ofcourse I wrote this with D. For HTTP I used std.net like "m_HTTP = HTTP(m_url);m_HTTP.perform();" For DNS I simply used "getAddressInfo(m_domainName);" Than tool makes some simple checks which are npt su