APM, EAP and TPL on Socket Programming
问题 I found Difference between […]Async and Begin[…] .net asynchronous APIs question but this answer confused me a little bit. Talking about these patterns, Stephen said: Most *Async methods (with corresponding *Completed events) are using the Event-Based Asynchronous Pattern. The older (but still perfectly valid) Begin* and End* is a pattern called the Asynchronous Programming Model. The Socket class is an exception to this rule; its *Async methods do not have any corresponding events; it's