Browse Subversion Repository
Contents of /WinCS/PeerSocket.cpp
Parent Directory
| Revision Log
| 1 |
#include "stdafx.h" |
| 2 |
#include "WinCS.h" |
| 3 |
#include "PeerSocket.h" |
| 4 |
#include "WinCSDlg.h" |
| 5 |
|
| 6 |
CPeerSocket::CPeerSocket() |
| 7 |
{ |
| 8 |
} |
| 9 |
|
| 10 |
CPeerSocket::~CPeerSocket() |
| 11 |
{ |
| 12 |
} |
| 13 |
|
| 14 |
void CPeerSocket::OnSend(int nErrorCode) |
| 15 |
{ |
| 16 |
((CWinCSDlg *)AfxGetApp()->m_pMainWnd)->OnPeerSend(nErrorCode); |
| 17 |
} |
| 18 |
|
| 19 |
void CPeerSocket::OnReceive(int nErrorCode) |
| 20 |
{ |
| 21 |
((CWinCSDlg *)AfxGetApp()->m_pMainWnd)->OnPeerRecieve(nErrorCode); |
| 22 |
} |
|