登录
首页 » Windows Socket编程 » 服务器和客户端的VC++实例

服务器和客户端的VC++实例

于 2022-07-10 发布 文件大小:113.44 kB
0 192
下载积分: 2 下载次数: 1

代码说明:

服务器和客户端的VC++实例-server and client examples of the VC

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • UDP通信实例,很简单,是在。NET框架下写的
    UDP通信实例,很简单,是在。NET框架下写的-UDP communication examples, very simple in. NET framework written in
    2022-06-16 17:35:05下载
    积分:1
  • 基于Socket封装的通用API
    基于Socket封装的通用API,支持TCP客户端、TCP服务端、UDP客户端、UDP服务端。 应用程序开发需包含导出类的TSocket.h,同时引用TCPUDPAPI.lib,TCPUDPAPI.dll 放在应用程序运行目录下。
    2022-02-01 06:52:45下载
    积分:1
  • messenger elf is a simple chat tools. A major demonstration is the main network...
    信使小精灵,是一个简易的聊天工具。主要是演示了网络编程的主要步骤。本程序使用封装好的函数库,使得应用层不需要考虑网络消息是如何被接受和发送的,也不需要考虑数据粘包和丢包的刺手问题,你只要调用相应的函数就可以了。函数库为你做好了这些工作。你只需要定义自己的协议头和消息结构体,定义好网络消息的回调函数就可以了。-messenger elf is a simple chat tools. A major demonstration is the main network programming steps. The programs use Packaging good libraries, makes application layer need not consider the network news is how it has been accepted and sent, and do not need sticky packets of data and packet loss of a thorn in hand, as long as you call the corresponding function on it. Functions well as your work. You only need to define its own agreement head and the structure of news, the definition of a good network news callback function on it.
    2023-08-16 20:20:03下载
    积分:1
  • C #连接GPRS发送消息到服务器实验
    C#中连接GPRS 并向服务器发送信息的实验-C# Connect GPRS to send messages to the server Experimental
    2022-07-21 22:40:02下载
    积分:1
  • 穿透防火墙 mfc界面
    要在相同的网络终端上绑定到不同的套接字上,所以必须为这些套接字设置SO_REUSEADDR属性(即允许重用),否则侦听会失败。 4、S的【协助打洞】连接收到A的申请后通过【主连接】通知B,并将A经过NAT-A转换后的公网IP地址和端口等信息告诉B。 5、B收到S的连接通知后首先与S的【协助打洞】端口连接,随便发送一些数据后立即断开,这样做的目的是让S能知道B经过NAT-B转换后的公网IP和端口号。 6、B尝试与A的经过NAT-A转换后的公网IP地址和端口进行connect,根据不同的路由器会有不同的结果,有些路由器在这个操作就能建立连接,大多数路由器对于不请自到的SYN请求包直接丢弃而导致connect失败,但NAT-A会纪录此次连接的源地址和端口号,为接下来真正的连接做好了准备,这就是所谓的打洞,即B向A打了一个洞,下次A就能直接连接到B刚才使用的端口号了
    2022-02-05 16:28:38下载
    积分:1
  • 此代码通过 NetApi32.dll 中提供的API来实现 Windows 系统中网卡MAC地址的获取...
    此代码通过 NetApi32.dll 中提供的API来实现 Windows 系统中网卡MAC地址的获取-This code Netapi32.dll provided through the API to achieve the Windows System network card MAC address access
    2023-01-23 03:45:03下载
    积分:1
  • 一个封装良好、稳定的SOCKET基类(TCP),不使用MFC,可初始化为服务端或客户端。...
    一个封装良好、稳定的SOCKET基类(TCP),不使用MFC,可初始化为服务端或客户端。-a good, stable base class SOCKET (TCP), do not use MFC, initialize to the server or client.
    2022-03-14 13:47:52下载
    积分:1
  • 译环境是visual studio 2008
    编译环境是visual studio 2008-Build environment is visual studio 2008
    2023-01-27 21:25:03下载
    积分:1
  • better e
    比较好的电子商务开发系统,可供大家学习-better e-commerce development system, we can learn
    2022-02-15 03:56:31下载
    积分:1
  • 微软ping命令的源代码,代码虽小 但是值得看
    微软ping命令的源代码,代码虽小 但是值得看-ping orders of the Microsoft source code, code is small but worth observing. .
    2022-04-19 02:19:58下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载