Implement async DNS resolution using c-ares

fix #2533
This commit is contained in:
Florent Le Coz
2015-02-23 13:56:08 +01:00
parent a17135720e
commit b86547dc1e
11 changed files with 499 additions and 13 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ XmppComponent::~XmppComponent()
void XmppComponent::start()
{
this->connect("127.0.0.1", Config::get("port", "5347"), false);
this->connect("localhost", Config::get("port", "5347"), false);
}
bool XmppComponent::is_document_open() const