public EQStream(string host, int port) { conn = new AsyncUDPConnection(host, port); Task.Factory.StartNew(CheckerAsync, TaskCreationOptions.LongRunning); Task.Factory.StartNew(ReceiverAsync, TaskCreationOptions.LongRunning); }
public EQStream(string host, int port) { conn = new AsyncUDPConnection(host, port); AsyncHelper.Run(CheckerAsync, longRunning: true); AsyncHelper.Run(ReceiverAsync, longRunning: true); }