EOF: sync vs. async, the Microsoft way
msdn.microsoft.com