// WSUDPS.cpp : implementation file // #include "stdafx.h" #include "GCKMS.h" #include "GCKMSDlg.h" #include "WSUDPS.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CWSUDPS CWSUDPS::CWSUDPS() { } CWSUDPS::~CWSUDPS() { } // Do not edit the following lines, which are needed by ClassWizard. #if 0 BEGIN_MESSAGE_MAP(CWSUDPS, CAsyncSocket) //{{AFX_MSG_MAP(CWSUDPS) //}}AFX_MSG_MAP END_MESSAGE_MAP() #endif // 0 ///////////////////////////////////////////////////////////////////////////// // CWSUDPS member functions void CWSUDPS::OnReceive(int nErrorCode) { ((CGCKMSDlg*)AfxGetMainWnd())->OnUDPS_Receive(nErrorCode); CAsyncSocket::OnReceive(nErrorCode); }