AFAIK microsoft's CAsyncServer example sucks.
See An MFC Asynchronous Socket Example Done Right