Testing frontend sockets

This commit is contained in:
Rick Falkvinge
2017-01-12 20:27:06 +01:00
parent d739a3d583
commit f28646c0d6
6 changed files with 62 additions and 79 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ namespace Swarmops.Frontend.Socket
Console.WriteLine(" * Swarmops Frontend Socket Server starting up.");
_socketServer = new WebSocketServer (12172); // TODO: Read from database
_socketServer.AddWebSocketService<SocketServices> ("/ws");
_socketServer.AddWebSocketService<MasterServices> ("/Master");
// _socketServer.KeepClean = false; // as per the author's recommendation - this may be bad in the long run
_socketServer.Start();