Browse Subversion Repository
Contents of /WinCS/ServerSocket.cpp
Parent Directory
| Revision Log
Revision 11 -
( show annotations)
( download)
( as text)
Wed Feb 10 18:21:00 2010 UTC
(14 years, 3 months ago)
by sho1get
File MIME type: text/x-c++src
File size: 664 byte(s)
| 1 |
#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 |
} |
|