-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServerSocket.h
More file actions
49 lines (39 loc) · 1.21 KB
/
ServerSocket.h
File metadata and controls
49 lines (39 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#if !defined(AFX_SERVERSOCKET_H__D710DFF9_F8BD_4F9F_8EF7_48A4700EAB36__INCLUDED_)
#define AFX_SERVERSOCKET_H__D710DFF9_F8BD_4F9F_8EF7_48A4700EAB36__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ServerSocket.h : header file
//
#include "ServerDlg.h"
#include "afxsock.h"
/////////////////////////////////////////////////////////////////////////////
// CServerSocket command target
class CServerDlg;
class CServerSocket : public CSocket
{
// Attributes
public:
CServerDlg* m_pDlg;
// Operations
public:
CServerSocket(CServerDlg* dlg);
virtual ~CServerSocket();
// Overrides
public:
// 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__D710DFF9_F8BD_4F9F_8EF7_48A4700EAB36__INCLUDED_)