The problem I has is this...
I have a class called SSCSocket which is derived from the CSocket class, now I've created an overide for the OnAccept() virtual function.
When trying this out though, the OnAccept() function is never executed.
Here's some code...
class SSCSocket : public CSocket
virtual void OnAccept(int nErrorCode);
virtual void OnClose(int nErrorCode);
Is declared in the header, and here's the implementation
void SSCSocket::OnAccept(int nErrorCode)
HandleNewClient() is a global function I use to accept the socket and create things.
Shouldn't OnAccept() be called when a connection is sitting in the queue, waiting to be accepted? Or do I need to do something else?