virtual void OnAccept(int nErrorCode); virtual void OnClose(int nErrorCode); virtual void OnConnect(int nErrorCode); virtual void OnReceive(int nErrorCode);
void CMySocket::OnReceive(int nErrorCode) { // TODO: Add your specialized code here and/or call the base class if(nErrorCode==0) { ((CMyProject*)m_pWnd)->OnReceive(); } CAsyncSocket::OnReceive(nErrorCode); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)