Hey, I'm trying to set up a tcplistener on a different thread so i can still use my app while i wait for an incoming connection. However, If exit the application before the connection is established, the listener thread keeps running. How do I make the application kill the thread when it exits. I've tried Thread.Stop() but it didn't work


Thanks in advance