More socket testing
This commit is contained in:
@@ -8,6 +8,8 @@ using Mono.Unix;
|
||||
using Mono.Unix.Native;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Swarmops.Logic.Communications;
|
||||
using Swarmops.Logic.Communications.Payload;
|
||||
using Swarmops.Logic.ExtensionMethods;
|
||||
using WebSocketSharp.Server;
|
||||
|
||||
@@ -31,6 +33,8 @@ namespace Swarmops.Frontend.Socket
|
||||
|
||||
Console.WriteLine(" * Swarmops Frontend Socket Server starting up.");
|
||||
|
||||
OutboundComm.CreateNotification(null, NotificationResource.System_Startup_Frontend);
|
||||
|
||||
_socketServer = new WebSocketServer (12172); // TODO: Read from database
|
||||
_socketServer.AddWebSocketService<MasterServices> ("/Master");
|
||||
// _socketServer.KeepClean = false; // as per the author's recommendation - this may be bad in the long run
|
||||
|
||||
Reference in New Issue
Block a user