VC++ CSocket有连接TCP通信实例

上传者: 38590790 | 上传时间: 2022-12-31 15:55:33 | 文件大小: 26KB | 文件类型: RAR
摘要:VC/C++源码,网络相关,Socket,TCP
VC++ CSocket有连接TCP通信实例,程序分为客户端和服务端,在服务端中设置服务器IP和端口,以及发送数据的状态,客户端同样设置好服务器IP地址和端口,然后可以显示接收数据的进度和字节数是多少,运行服务端请点击“启动”,客户端请点击“连接”按钮。
运行环境:Windows/Visual C/C++

文件下载

资源详情

[{"title":"( 26 个子文件 26KB ) VC++ CSocket有连接TCP通信实例","children":[{"title":"okbase.net","children":[{"title":"使用CSocket进行有连接(TCP)通信","children":[{"title":"TCPServer","children":[{"title":"Resource.h <span style='color:#111;'> 962B </span>","children":null,"spread":false},{"title":"TCPServerDlg.h <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"TCPServer.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"TCPServer.rc2 <span style='color:#111;'> 401B </span>","children":null,"spread":false}],"spread":true},{"title":"TCPServer.cpp <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"TCPServer.dsp <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":"TCPServerDlg.cpp <span style='color:#111;'> 5.83KB </span>","children":null,"spread":false},{"title":"TCPServer.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"TCPServer.rc <span style='color:#111;'> 5.74KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 211B </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"TCPServer.dsw <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false}],"spread":false},{"title":"TCPClient","children":[{"title":"TCPClientDlg.cpp <span style='color:#111;'> 5.70KB </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 962B </span>","children":null,"spread":false},{"title":"TCPClientDlg.h <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"TCPClient.rc2 <span style='color:#111;'> 401B </span>","children":null,"spread":false},{"title":"TCPClient.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"TCPClient.dsw <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"TCPClient.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 211B </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"TCPClient.dsp <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":"TCPClient.rc <span style='color:#111;'> 5.74KB </span>","children":null,"spread":false},{"title":"TCPClient.cpp <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明