Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /WinCS/ServerSocket.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11 - (hide annotations) (download) (as text)
Wed Feb 10 18:21:00 2010 UTC (14 years ago) by sho1get
File MIME type: text/x-c++src
File size: 664 byte(s)


1 sho1get 11 #include "stdafx.h"
2     #include "WinCS.h"
3     #include "ServerSocket.h"
4     #include "WinCSDlg.h"
5    
6     CServerSocket::CServerSocket()
7     {
8     }
9    
10     CServerSocket::~CServerSocket()
11     {
12     }
13    
14     void CServerSocket::OnAccept(int nErrorCode)
15     {
16     ((CWinCSDlg *)AfxGetApp()->m_pMainWnd)->OnServerAccept(nErrorCode);
17     }
18    
19     void CServerSocket::OnSend(int nErrorCode)
20     {
21     ((CWinCSDlg *)AfxGetApp()->m_pMainWnd)->OnServerSend(nErrorCode);
22     }
23    
24     void CServerSocket::OnReceive(int nErrorCode)
25     {
26     ((CWinCSDlg *)AfxGetApp()->m_pMainWnd)->OnServerRecieve(nErrorCode);
27     }
28    
29     void CServerSocket::OnClose(int nErrorCode)
30     {
31     ((CWinCSDlg *)AfxGetApp()->m_pMainWnd)->OnServerClose(nErrorCode);
32     }

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26