www.pudn.com > chat-dialog.rar > ListenSocket.h
#if !defined(AFX_LISTENSOCKET_H__5054C48E_021D_46D4_9034_037BDF15DCD7__INCLUDED_)
#define AFX_LISTENSOCKET_H__5054C48E_021D_46D4_9034_037BDF15DCD7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ListenSocket.h : header file
//
#include "SeverSocket.h"
/////////////////////////////////////////////////////////////////////////////
// CListenSocket command target
class CListenSocket : public CSocket
{
// Attributes
public:
CSeverSocket* m_sockerRev[20];
CWnd* m_pParentWnd;
int m_nsockNum;
int m_ntotleNum;
// Operations
public:
CListenSocket();
virtual ~CListenSocket();
// Overrides
public:
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CListenSocket)
public:
virtual void OnAccept(int nErrorCode);
//}}AFX_VIRTUAL
// Generated message map functions
//{{AFX_MSG(CListenSocket)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
// Implementation
protected:
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LISTENSOCKET_H__5054C48E_021D_46D4_9034_037BDF15DCD7__INCLUDED_)