You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/labs/LCDAUE800DDebug/Program.cs

22 lines
520 B

using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace ConsoleApp3
{
internal class Program
{
private static void Main(string[] args)
{
var listener = new TcpListener(IPAddress.Any, 7000);
listener.Start();
while (true)
{
TcpClient client = listener.AcceptTcpClient();
Task.Run(() => new LCDAUE800DService(client).Run());
}
listener.Stop();
}
}
}