ServerSocket.h
资源名称:xcchat.rar [点击查看]
上传用户:posgewe
上传日期:2013-05-17
资源大小:69k
文件大小:1k
源码类别:
Telnet服务器
开发平台:
Visual C++
- #if !defined(AFX_SERVERSOCKET_H__6FEF46BE_D81F_4AAF_81BA_D65A98928447__INCLUDED_)
- #define AFX_SERVERSOCKET_H__6FEF46BE_D81F_4AAF_81BA_D65A98928447__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ServerSocket.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CServerSocket command target
- class CServerSocket : public CSocket
- {
- // Attributes
- public:
- // Operations
- public:
- CServerSocket();
- virtual ~CServerSocket();
- // Overrides
- public:
- CPtrList connectList;
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CServerSocket)
- public:
- virtual void OnAccept(int nErrorCode);
- //}}AFX_VIRTUAL
- // Generated message map functions
- //{{AFX_MSG(CServerSocket)
- // 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_SERVERSOCKET_H__6FEF46BE_D81F_4AAF_81BA_D65A98928447__INCLUDED_)