SuperSocket.SocketService.exe.config 916 B

123456789101112131415161718192021222324252627
  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. <superSocket>
  10. <servers>
  11. <server name="YourServerInstanceName"
  12. serverTypeName="YourService"
  13. ip="Any" port="2020"
  14. maxConnectionNumber="100">
  15. </server>
  16. </servers>
  17. <serverTypes>
  18. <add name="YourService" type="YourServiceServerType, YourServiceAssembly" />
  19. </serverTypes>
  20. </superSocket>
  21. <startup>
  22. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  23. </startup>
  24. <runtime>
  25. <gcServer enabled="true" />
  26. </runtime>
  27. </configuration>