Exemplo n.º 1
0
        public MobileUdpClient(ICCommandDelegate commandDelegate)
        {
            mCommandDelegate = commandDelegate;
            NetPeerConfiguration config = new NetPeerConfiguration(MobileAppObject.appIdentifier);

            config.EnableMessageType(NetIncomingMessageType.DiscoveryResponse);
            mClient = new NetClient(config);
            mClient.Start();
        }