Thread abort Problem

Tech-Archive recommends: Fix windows errors by optimizing your registry



Dear all:

In .NET Compact Framework Form I start one thread
the thread is always listen use TcpListener method
When Form will be closed must be Stop TcpListener
but How Can I abort thread first?
because if thread isn't abort will be error when TcpListener stop

Tks for help!

.