Logger::error<<"socket failed 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)