Example #1
0
        public EQStream(string host, int port)
        {
            conn = new AsyncUDPConnection(host, port);

            Task.Factory.StartNew(CheckerAsync, TaskCreationOptions.LongRunning);
            Task.Factory.StartNew(ReceiverAsync, TaskCreationOptions.LongRunning);
        }
Example #2
0
        public EQStream(string host, int port)
        {
            conn = new AsyncUDPConnection(host, port);

            AsyncHelper.Run(CheckerAsync, longRunning: true);
            AsyncHelper.Run(ReceiverAsync, longRunning: true);
        }