コード例 #1
0
        public void Start()
        {
            Log.Info("Starting LogServer");

            _server = new UdpServer(3005, "LogServer");
            _server.PacketReceived += new EventHandler <UdpPacketReceivedEventArgs>(server_PacketReceived);
            _server.Start();
        }
コード例 #2
0
ファイル: MatchServer.cs プロジェクト: sokie/MeGusta2
        public void Start()
        {
            Log.Info("Starting MatchServer for playlist " + _playlist.ToString());

            _server = new UdpServer((ushort)(3100 + _playlist), "MatchServer:" + _playlist.ToString());
            _server.PacketReceived += new EventHandler <UdpPacketReceivedEventArgs>(server_PacketReceived);
            _server.Start();
        }
コード例 #3
0
ファイル: LogServer.cs プロジェクト: hOlyYy/MeGusta2
        public void Start()
        {
            Log.Info("Starting LogServer");

            _server = new UdpServer(3005, "LogServer");
            _server.PacketReceived += new EventHandler<UdpPacketReceivedEventArgs>(server_PacketReceived);
            _server.Start();
        }
コード例 #4
0
        public void Start()
        {
            Log.Info("Starting MatchServer for playlist " + _playlist.ToString());

            _server = new UdpServer((ushort)(3100 + _playlist), "MatchServer:" + _playlist.ToString());
            _server.PacketReceived += new EventHandler<UdpPacketReceivedEventArgs>(server_PacketReceived);
            _server.Start();
        }