Esempio n. 1
0
        private void CreateConnection()
        {
            SocketServer socketServer = _options.Value;

            _socketService.InitializeSocket(socketServer.Address, socketServer.Port, socketServer.Ws, Guid.NewGuid().ToString());
            _socketService.OnMessageEvent += new EventHandler <MessageEventArgs>(OnMessage);
        }