This commit is contained in:
walker0643
2018-03-06 13:55:27 -05:00
parent b4604b0921
commit 24987e0694
21 changed files with 213 additions and 145 deletions

View File

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