this-> DCGetServer

(Caronte Pcode version 2.0)

Description

void this->DCGetServer (HashArray servers);

Retrieve the servers of the Dante Community and put them in the servers array.

Example.

Source:

#import( class , HashArray )

CS_ADMIN_SCRIPT this = new CS_ADMIN_SCRIPT($_this);

int Main(CAdminRequest pRequest, CAdminResponse pResponse)
{

HashArray indexkey = new HashArray();
this->DCGetServer(indexkey);

for (int i = 0; i < indexkey->GetRecordCount(); i++)
{

this->Print(indexkey->GetByIndexS(i) + "\n");

}

delete indexkey;

return 0;

}


 

Out:

128.241.54.44

198.173.85.64