Adding websocket server code, so that a gateway is no longer required. Still kind of untested. Requires websocketpp.

This commit is contained in:
lotodore
2013-09-15 22:54:45 +02:00
parent b0e4018883
commit 8e39432754
19 changed files with 175 additions and 376 deletions
+3 -1
View File
@@ -281,7 +281,9 @@ SessionManager::Clear()
boost::system::error_code ec;
while (i != end) {
i->second->GetAsioSocket()->close(ec);
// Close all raw handles.
i->second->CloseSocketHandle();
i->second->CloseWebSocketHandle();
++i;
}
m_sessionMap.clear();