D
David
http://msdn2.microsoft.com/en-us/library/bew39x2a(VS.80).aspx
I was looking at above link and I just don't see the advantage of this. The
main thread is just stopping and waiting for each of the
connects/sends/receives to complete anyway so it seems to me using the
synchronous methods would be much simpler and equivalent as far as
efficiency/performance in this example? What am I missing here? Is it just
that this example is simply to show the structure of putting the begin/end
asynch calls together and not demonstrating a practical use?
any input on this would be greatly appreciated. A good practical example of
asynchronous tcp client/server would be gold to me right now.
I was looking at above link and I just don't see the advantage of this. The
main thread is just stopping and waiting for each of the
connects/sends/receives to complete anyway so it seems to me using the
synchronous methods would be much simpler and equivalent as far as
efficiency/performance in this example? What am I missing here? Is it just
that this example is simply to show the structure of putting the begin/end
asynch calls together and not demonstrating a practical use?
any input on this would be greatly appreciated. A good practical example of
asynchronous tcp client/server would be gold to me right now.