嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 2 元微信扫码支付:2 元
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
Socket通信程序,包括客户端和服务端代码,vc6.0编译通过
// CsockServerDlg.h : header file
//
#include "MyServerSocket.h"
#if !defined(AFX_CSOCKSERVERDLG_H__846E60DD_B9A8_43BE_9C31_6C114C4DC283__INCLUDED_)
#define AFX_CSOCKSERVERDLG_H__846E60DD_B9A8_43BE_9C31_6C114C4DC283__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCsockServerDlg dialog
class CCsockServerDlg : public CDialog
{
// Construction
public:
CCsockServerDlg(CWnd* pParent = NULL); // standard constructor
CMyServerSocket m_srvrSocket;
int UserPort;
// Dialog Data
//{{AFX_DATA(CCsockServerDlg)
enum { IDD = IDD_CSOCKSERVER_DIALOG };
CEdit m_MSG;
CListBox m_MSGS;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCsockServerDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCsockServerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnListen();
afx_msg void OnSend();
afx_msg void OnExit();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CSOCKSERVERDLG_H__846E60DD_B9A8_43BE_9C31_6C114C4DC283__INCLUDED_)