Logger::error<<"socket failed in "<<__FUNCTION__<<"("<<__FILE__<<"@"<<__LINE__<<")"<<" with "<<errno_socket<<" ("<<strerror_socket(errno_socket)<<")"<<endl;
Logger::debug<<"Listening on ipv6 "<<address<<endl;
}else{
if(sheep==0){
Logger::error<<"cannot resolve hostname in "<<__FUNCTION__<<"("<<__FILE__<<"@"<<__LINE__<<")"<<" with "<<errno_socket<<" ("<<strerror_socket(errno_socket)<<")"<<endl;
Logger::error<<"cannot resolve hostname in "<<__FUNCTION__<<"("<<__FILE__<<"@"<<__LINE__<<")"<<" with "<<errno_socket<<" ("<<strerror_socket(errno_socket)<<")"<<endl;
Logger::error<<"socket failed in "<<__FUNCTION__<<"("<<__FILE__<<"@"<<__LINE__<<")"<<" with "<<errno_socket<<" ("<<strerror_socket(errno_socket)<<")"<<endl;
returnfalse;
}
#if !defined(_MSC_VER)
...
...
@@ -114,7 +129,13 @@ bool ListenTask::Listen(const string& address, int port)