forked from kerryjiang/SuperWebSocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.config
36 lines (36 loc) · 1.39 KB
/
App.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="superSocket" type="SuperSocket.SocketEngine.Configuration.SocketServiceConfig, SuperSocket.SocketEngine"/>
</configSections>
<appSettings>
<add key="ServiceName" value="SuperWebSocket"/>
</appSettings>
<superSocket>
<servers>
<server name="SuperWebSocket"
serviceName="SuperWebSocket"
ip="Any" port="2011" mode="Async">
</server>
<server name="SecureSuperWebSocket"
serviceName="SuperWebSocket"
ip="Any" port="2012" mode="Sync" security="tls">
<!--Please install the certificate to your trusted certificates store, the password is 'supersocket'-->
<certificate filePath="supersocket.pfx"
password="supersocket"
isEnabled="true"></certificate>
</server>
</servers>
<services>
<service name="SuperWebSocket"
type="SuperWebSocket.WebSocketServer, SuperWebSocket" />
</services>
</superSocket>
<startup>
<!--
Use this element if you build this application by .NET 3.5
<supportedRuntime version="v2.0.50727" />
-->
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
</configuration>