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 ....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top