#6178 Merge IPv6 PR

This commit is contained in:
Jerry (Xinyu Hou)
2018-03-20 13:53:38 +00:00
parent 1e8e48d65b
commit 8446fe5395
18 changed files with 229 additions and 225 deletions

View File

@@ -147,7 +147,7 @@ Client::connect()
}
// create the socket
IDataSocket* socket = m_socketFactory->create(m_useSecureNetwork);
IDataSocket* socket = m_socketFactory->create(ARCH->getAddrFamily(m_serverAddress.getAddress()));
m_socket = dynamic_cast<TCPSocket*>(socket);
// filter socket messages, including a packetizing filter