登录
首页 » 套接字网络编程 » 用WinSocket创建客户机服务器

用WinSocket创建客户机服务器

于 2022-07-13 发布 文件大小:14.80 kB
0 183
下载积分: 2 下载次数: 1

代码说明:

用WinSocket创建客户机服务器--UDP,为了写这个程序,花了我好长时间,无奈水平有限,是初学,请多指教-Winsocket used to create client-server-- UDP, in order to write this procedure, I spent a good long time, the limited level of frustration is beginner, please enlighten

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

发表评论

0 个回复

  • completed an example of the server and client simple oral communication process....
    该实例完成一个服务器端和客户端简单的会话通信过程.要求主机上安装TCP/IP协议,并设定IP.服务器端和客户端使用同一台主机的不同端口号,服务器端使用的端口号为2000,客户端使用的端口号为3000. 服务器端程序先运行,首先初始化Winsock,然后创建套接字,在2000端口上进行绑定,接着在2000端口进行侦听,并进入等待状态.客户端后运行,同样首先初始化winsock,然后创建套接字,接着尝试和服务器端的连接.连接一旦建立,就可以在服务器端和客户端之间进行通信.客户端提示输入一个数字,比如输入50,那么客户端会从"data0"到"data49"发送50个字符串,输入0退出.-completed an example of the server and client simple oral communication process. Asked on the mainframe installed TCP/IP protocol and set the IP. Servers and clients using the same host of different ports, the use of the server port to 2000, clients use the port number as 3000. server operating procedures first, the first initialization Winsock, and then create socket, in 2000 ports on bonding, then the 2000 port for the interception, and entered the wait state. client after running the same protocols of the first initialization, and then create socket, and then try to server connections. connecting once established, can the server and client communications between. the client suggested the import
    2022-01-26 06:53:43下载
    积分:1
  • Addison Wesley
    Addison Wesley - C++ Network Programming Vol 1-Addison Wesley- C++ Network Programming Vol 1
    2022-03-21 05:28:42下载
    积分:1
  • Socket客户端、服务器端入门
    Socket客户端、服务器端入门例子。 包括服务器端代码 包括客户端代码 简单容易学习。
    2023-04-27 11:35:03下载
    积分:1
  • 用。NETC语言#邮寄小样品源代码写,代码小,哈哈…
    用.netc#语言写的邮件收发小样例源代码,代码短小精悍,具备了核心扩展部分.再经过扩展就可以使用了-used. Netc# language written by mail small sample source code, code small and have a core extension. After a further extension can use it
    2023-03-14 07:25:03下载
    积分:1
  • 文件传输系统
    将文件从一个位置传输到另一个远程位置使用 TCP 客户端和服务器协议。你给的远程 pc 的 IP 传输速度快,还显示进度栏转移文件。传输文件传输之后完成对话框消息会弹出在屏幕上的用户
    2023-05-05 07:40:03下载
    积分:1
  • snmp up 8
    snmp up 8
    2022-04-09 04:00:38下载
    积分:1
  • 局域文件发送系统,教你学会!一个小
    局域网文件发送系统,教你学会网络编程!一个小程序-Local area network file system, teach you learn to network programming! A small program
    2022-08-10 11:56:57下载
    积分:1
  • 比较不错的开发源码VC版,是铁道出版社出版的图书源码
    比较不错的网络开发源码VC版,是铁道出版社出版的图书源码-Comparison of good web development source VC version is the Railway Publishing House book source
    2022-11-10 05:00:03下载
    积分:1
  • _ LAN card wake
    网卡唤醒程序_局域网开机 需要网卡支持此功能-_ LAN card wake-up boot process
    2022-01-21 21:14:59下载
    积分:1
  • trunk实现页访问基于LWIP
    实现tcp的网页访问,可以通过PC机访问,很简单,LWIP,最基本的通信代码,不妨调试一下,看一下基本的通信过程
    2022-03-10 12:52:34下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载