I've done an small asynchronous tcp server/client in C#...
... And I've been just thinking :
C# API implements
selectandepoll, a classic but easy way to do async. Why does Microsoft introduce theBeginConnect/BeginSendfamily, which -in my opinion- have a more complicated design (and adds lines of code too).So, using the BeginXXX() "trend", I noticed that the
System.Threadingimport is required (for the events). Does it mean that threads are involved too ?