1
0

IPv6 support: fixed IP string getting on accept()

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1256 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft
2013-03-05 13:35:19 +00:00
parent ea750b9745
commit fcdc68fd8e
4 changed files with 23 additions and 17 deletions

View File

@@ -461,7 +461,7 @@ bool cSocketThreads::cSocketThread::Start(void)
}
// Finish connecting the control socket by accepting connection from the thread's socket
cSocket tmp = m_ControlSocket2.Accept();
cSocket tmp = m_ControlSocket2.AcceptIPv4();
if (!tmp.IsValid())
{
LOGERROR("Cannot link Control sockets for a cSocketThread (\"%s\"); continuing, but server may be unreachable from now on.", cSocket::GetLastErrorString().c_str());