Exemplo n.º 1
0
        public override void OnStartServer()
        {
            CallbackLog("OnStartServer");

            base.OnStartServer();

            ServerStartEvent?.Invoke(this, EventArgs.Empty);
        }
Exemplo n.º 2
0
        public void StartServer()
        {
            if (isStarted_)
            {
                return;
            }

            udp_.StartServer(port);
            thread_.Start(UpdateMessage);

            isStarted_ = true;

            onServerStarted.Invoke(port);
        }