App.config 860 B

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <configSections>
  4. <section name="superSocket" type="SuperSocket.SocketEngine.Configuration.SocketServiceConfig, SuperSocket.SocketEngine" />
  5. </configSections>
  6. <appSettings>
  7. <add key="ServiceName" value="SupperSocketService" />
  8. </appSettings>
  9. <connectionStrings/>
  10. <superSocket>
  11. <servers>
  12. <server name="YourServerInstanceName"
  13. serverTypeName="YourService"
  14. ip="Any" port="2020"
  15. maxConnectionNumber="100">
  16. </server>
  17. </servers>
  18. <serverTypes>
  19. <add name="YourService" type="YourServiceServerType, YourServiceAssembly" />
  20. </serverTypes>
  21. </superSocket>
  22. <startup>
  23. <supportedRuntime version="v2.0.50727" sku=".NETFramework,Version=v3.5" />
  24. </startup>
  25. <runtime>
  26. <gcServer enabled="true" />
  27. </runtime>
  28. </configuration>