www.pudn.com > FTP.rar > ListenSocket.h
#if !defined(AFX_LISTENSOCKET_H__4D5C3ACB_8BCD_45D1_84DA_B4B3BC307AAC__INCLUDED_)
#define AFX_LISTENSOCKET_H__4D5C3ACB_8BCD_45D1_84DA_B4B3BC307AAC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ListenSocket.h : header file
//
#include "Server.h"
/////////////////////////////////////////////////////////////////////////////
// CListenSocket command target
class CServerDlg;
class CListenSocket : public CSocket
{
// Attributes
public:
CServerDlg *l_dlg;
// Operations
public:
CListenSocket(CServerDlg *dlg);
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__4D5C3ACB_8BCD_45D1_84DA_B4B3BC307AAC__INCLUDED_)