A
Adam Clauss
Couple questions:
1) I have an application using TCP sockets. When I make a call to
BeginReceive(), is the callback I specify called in the current thread or
from a new thread?
2) Similar to the first, with regards to events. When I actually call an
event (with some number of delegates added to it), is each thread called
sequentially in the calling thread, or is each executed asynchronously in
its own?
I'm running into some wierd behavior in an application I'm writing,
wondering if one or both of the above might be the problem.
Thanks!
1) I have an application using TCP sockets. When I make a call to
BeginReceive(), is the callback I specify called in the current thread or
from a new thread?
2) Similar to the first, with regards to events. When I actually call an
event (with some number of delegates added to it), is each thread called
sequentially in the calling thread, or is each executed asynchronously in
its own?
I'm running into some wierd behavior in an application I'm writing,
wondering if one or both of the above might be the problem.
Thanks!