background thread

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

in my application I have a "background" thread listening for incoming UDP
connection.

this thread is background only in name as there is no such flag in the
CF.NET API.
so when I call Application.Exit() my app doesn't exit because my method
mySocket.Receive() is waiting for data

any tip ?
 
no worry, I used mySock.BeginReceive() instead.
no thread and just an object disposed exception at exit ....
 
Back
Top