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