timeoutsocket.h

来自「Bug管理系统」· C头文件 代码 · 共 52 行

H
52
字号
#if !defined(AFX_TIMEOUTSOCKET_H__5DF1184F_97E9_11D0_AFF6_0000B472DAFB__INCLUDED_)
#define AFX_TIMEOUTSOCKET_H__5DF1184F_97E9_11D0_AFF6_0000B472DAFB__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// TimeOutSocket.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTimeOutSocket command target

#include <afxsock.h>

class CTimeOutSocket : public CSocket
{
// Attributes
public:

// Operations
public:
    CTimeOutSocket();
    virtual ~CTimeOutSocket();

// Overrides
public:
    BOOL KillTimeOut();
    UINT_PTR SetTimeOut(UINT uTimeOut);
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CTimeOutSocket)
    public:
    virtual BOOL OnMessagePending();
    //}}AFX_VIRTUAL

    // Generated message map functions
    //{{AFX_MSG(CTimeOutSocket)
        // NOTE - the ClassWizard will add and remove member functions here.
    //}}AFX_MSG

// Implementation
protected:
    UINT_PTR m_nTimerID;

};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TIMEOUTSOCKET_H__5DF1184F_97E9_11D0_AFF6_0000B472DAFB__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?