SocketDx.h
资源名称:Telnet.rar [点击查看]
上传用户:net1718
上传日期:2016-03-27
资源大小:36k
文件大小:1k
源码类别:
Telnet客户端
开发平台:
Visual C++
- // SocketDx.h: interface for the CSocketDx class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_SOCKETDX_H__DFEE9DED_9AF1_11D2_A6CE_204C4F4F5020__INCLUDED_)
- #define AFX_SOCKETDX_H__DFEE9DED_9AF1_11D2_A6CE_204C4F4F5020__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CSocketDx
- {
- public:
- CSocketDx(char *,int);
- ~CSocketDx();
- int Create();
- int Connect();
- SOCKET TelnetConnect();
- sockaddr_in m_sockaddr_in;
- SOCKET m_hSocket;
- };
- #endif // !defined(AFX_SOCKETDX_H__DFEE9DED_9AF1_11D2_A6CE_204C4F4F5020__INCLUDED_)