Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/Simple-WebSocket-Server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreidheim <eidheim@gmail.com>2015-01-09 21:14:21 +0300
committereidheim <eidheim@gmail.com>2015-01-09 21:14:21 +0300
commit159938a05ff0f08396528cf2530cc593495c949c (patch)
treeae55ffcd36ad35f2ce6d038b7a2e5e8c2233a1cc /wss_examples.cpp
parentb14c492c31cb4f48737bf8e955289310873b5366 (diff)
Removed the set connections from SocketServerBase (it is now only in Endpoint), and added comment in echo_all examples.
Diffstat (limited to 'wss_examples.cpp')
-rw-r--r--wss_examples.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/wss_examples.cpp b/wss_examples.cpp
index 9f3a30c..0cf6fee 100644
--- a/wss_examples.cpp
+++ b/wss_examples.cpp
@@ -65,6 +65,7 @@ int main() {
stringstream data_ss;
message->data >> data_ss.rdbuf();
+ //echo_all.get_connections() can also be used to solely receive connections on this endpoint
for(auto a_connection: server.get_connections()) {
stringstream response_ss;
response_ss << data_ss.str();