PeerSocket.cpp
Upload User: whzytd4
Upload Date: 2022-08-01
Package Size: 7346k
Code Size: 1k
Category:

WinSock-NDIS

Development Platform:

Visual C++

  1. // PeerSocket.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "client.h"
  5. #include "PeerSocket.h"
  6. #include "ClientDlg.h"
  7. #ifdef _DEBUG
  8. #define new DEBUG_NEW
  9. #undef THIS_FILE
  10. static char THIS_FILE[] = __FILE__;
  11. #endif
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CPeerSocket
  14. CPeerSocket::CPeerSocket(CClientDlg *pClientDlg)
  15. {
  16. }
  17. CPeerSocket::~CPeerSocket()
  18. {
  19. }
  20. // Do not edit the following lines, which are needed by ClassWizard.
  21. #if 0
  22. BEGIN_MESSAGE_MAP(CPeerSocket, CSocket)
  23. //{{AFX_MSG_MAP(CPeerSocket)
  24. //}}AFX_MSG_MAP
  25. END_MESSAGE_MAP()
  26. void CPeerSocket::OnAccept( int nErrorCode )
  27. {
  28. m_pClientDlg->ProcessPendingAccept();
  29. }
  30. #endif // 0
  31. /////////////////////////////////////////////////////////////////////////////
  32. // CPeerSocket member functions