#6178 Specifically specify IPv4 for IPC socket

This commit is contained in:
Jerry (Xinyu Hou) 2018-03-21 10:55:02 +00:00
parent fa82f5cdf3
commit 0ef8838e88
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ IpcServer::IpcServer(IEventQueue* events, SocketMultiplexer* socketMultiplexer,
void void
IpcServer::init() IpcServer::init()
{ {
m_socket = new TCPListenSocket(m_events, m_socketMultiplexer, ARCH->getAddrFamily(m_address.getAddress())); m_socket = new TCPListenSocket(m_events, m_socketMultiplexer, IArchNetwork::EAddressFamily::kINET);
m_clientsMutex = ARCH->newMutex(); m_clientsMutex = ARCH->newMutex();
m_address.resolve(); m_address.resolve();