登录
首页 » 套接字网络编程 » socket通信(含tcp,udp)

socket通信(含tcp,udp)

于 2023-03-09 发布 文件大小:14.71 kB
0 206
下载积分: 2 下载次数: 1

代码说明:

包含tcp和udp通信代码,服务器端客户端代码用于传输指令消息,实现了端对端,定时发送多次发送,网络中计算机进行通信的一种方法。应用程序通过调用系统提供的socket库函数很容易实现网络里计算机的通信,并且在android端读取信息显示的功能,并已投入使用,希望对开发者有帮助。

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

发表评论

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
  • windows上枚举
    windows上枚举网络连接的程序-windows on the enumeration process connected to a network
    2022-04-14 15:34:37下载
    积分:1
  • 扫描局域指定段在用IP,只需将两个文件放在windowssysytem32下,然后在命令行执行nbtscan192.168.0.1...
    扫描局域网指定网段在用IP,只需将两个文件放在windowssysytem32下,然后在命令行执行nbtscan192.168.0.1-255即可-Scan LAN segment using the specified IP, only two files in the windows sysytem32, and then at the command line can be the implementation of nbtscan192.168.0.1-255
    2022-12-17 22:45:03下载
    积分:1
  • 模板类,可以用该模板实现CVS结构的
    模板类,可以用该模板实现CVS结构的网站-category templates, you can use the template structure of the CVS site
    2022-01-27 15:57:00下载
    积分:1
  • 支持局域对战的飞行棋
    支持局域网对战的飞行棋-To support the LAN flight chess battle
    2022-08-16 17:06:27下载
    积分:1
  • 一个简单的发邮件服务软件的制作!
    一个简单的发邮件服务软件的制作!-a simple mail service software production!
    2022-03-05 15:46:01下载
    积分:1
  • vb教 快速入门
    vb教程 快速入门-vb Quick Start Guide
    2022-05-07 21:05:30下载
    积分:1
  • 本工的用途为路由器级拓扑发现后进行别名解析
    本工程的用途为路由器级拓扑发现后进行别名解析-This works for the router-level topology discovery to resolve the alias
    2023-04-18 01:50:04下载
    积分:1
  • Client Server Socket Programming and multithreading
    基本编程,包括初学者的套接字编程程序;
    2022-10-14 04:30:04下载
    积分:1
  • lwip
    lwip-tcpip协议-lwip- TCPIP agreement
    2022-02-02 04:08:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载