CAsyncSocket Server doesn't OnAccept()
I have used CAsyncSocket-derived server objects in the past and always without any problems, however I am faced with one now. I Create() the socket then AsyncSelect() including FD_ACCEPT then Listen() then start a loop. I threw together a quick little client test app (and have tried telnet) to connect to the server on loopback. The client does indeed connect successfully, but in my derived socket class OnAccept() is never called! Subsequently I never receive any OnReceive() calls either.
I've attached a completely trimmed down MFC app containing the CServerSocket class and the simple little ClientTest app I'm using to connect to myself (of course telnet works just fine). Do you have any idea why this is happening?