this-> DNS_Resolve

(Caronte Pcode version 2.0)

Description

string this-> DNS_Resolve (string hostname);

Resolve the hostname and return the ip address .

Example.

Source:

CS_ADMIN_SCRIPT this = new CS_ADMIN_SCRIPT($_this);

int Main(CAdminRequest pRequest, CAdminResponse pResponse)
{

this->Print("Result: " + this->DNS_Resolve("anarion.inrete.com"));


return 0;

}



Out:
Result: 213.198.53.54