// listen for incoming connections. try { listener.Bind(localEndPoint); listener.Listen(10); // Start listening for connections. while (true)//infinite loop { }
bool runLoop = true; while (runLoop) { //Some test here, if the test means the loops needs to end, set runLoop = false }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)