summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/hello/config.server
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Ice/hello/config.server')
-rw-r--r--cpp/demo/Ice/hello/config.server23
1 files changed, 19 insertions, 4 deletions
diff --git a/cpp/demo/Ice/hello/config.server b/cpp/demo/Ice/hello/config.server
index 58f43bd4e3b..ae02d1fdbd1 100644
--- a/cpp/demo/Ice/hello/config.server
+++ b/cpp/demo/Ice/hello/config.server
@@ -3,7 +3,17 @@
# "Hello". The following line sets the endpoints for this
# adapter.
#
-Hello.Endpoints=tcp -h localhost -p 10000:udp -h localhost -p 10000:ssl -h localhost -p 10001
+Hello.Endpoints=tcp -p 10000:udp -p 10000:ssl -p 10001:ws -p 10002:wss -p 10003
+
+#
+# Only listen on the localhost interface by default.
+#
+Ice.Default.Host=localhost
+
+#
+# We need to disable VerifyPeer for secure WebSocket (WSS) and Windows Store App clients.
+#
+IceSSL.VerifyPeer=0
#
# Warn about connection exceptions
@@ -49,14 +59,19 @@ IceSSL.KeyFile=s_rsa1024_priv.pem
# Uncomment the properties below if you want run the demo with the
# Windows Store App hello client.
#
+#Ice.Default.Host=
#Hello.Endpoints=tcp -p 10000:udp -p 10000:ssl -p 10001
-#IceSSL.VerifyPeer=0
#IceSSL.DefaultDir=../../../../certs/winrt
#
-# IceMX configuration.
+# IceMX configuration
#
-#Ice.Admin.Endpoints=tcp -h localhost -p 10002
+#Ice.Admin.Endpoints=tcp -p 10004
Ice.Admin.InstanceName=server
IceMX.Metrics.Debug.GroupBy=id
IceMX.Metrics.ByParent.GroupBy=parent
+
+#
+# Install WebSocket transport plug-in
+#
+Ice.Plugin.IceWS=IceWS:createIceWS