-
UTC-time
UTC时间换算本地时间,非常好用,可以移植到任何环境。(UTC Time Conversions local time, very easy to use, can be ported to any environment.)
- 2016-01-02 18:26:30下载
- 积分:1
-
client-server
多协议文件传输c/s网络应用设计与实现,程序用 TCP/UDP 两个协议模拟多协议服务器。首先服务器端要将两种协议的套接字创建好,并且监听 TCP 端口的连接。必要时使用select函数来进行多连接处理和非阻塞处理。而客户端直接可以按照发送的地址和端口号来进行通讯。
首先要运行服务器端,服务器会监听 TCP 端口。然后运行客户端,根据事先设定好的 IP和端口,就可以进行连接传输数据了。
程序实现的关键步骤:
以TCP协议为例
服务器端:
1.创建套接字;2.绑定端口;3.进入无穷的循环;4.接收请求;5.处理请求;6.应答。
客户端:
1.找到服务器的IP地址和协议的端口号;2.创建套接字;3.确定连接需要任意的,没有使用的端口号允许TCP去选择一个;4.将套接字和服务器连接;5.使用应用层协议和服务器交互;6.关闭连接。
(Multi-protocol file transfer c/s network application design and implementation of programs simulate multi-protocol server with TCP/UDP both protocols. First socket server to create a good two protocols, TCP port and listens for connections. If necessary, use the function to handle multiple connections and non-blocking treatment. And the client can follow directly address and port number to communicate.
First run on the server side, the server listens on TCP port. Then run the client, according to pre-configured IP and port, you can connect the data transmission.
The key step program implementation:
In TCP protocol as an example
Service-Terminal:
1. Create a socket 2 bound port 3 enter an infinite loop 4. receiving a request 5. processing requests 6 response.
Clients:
1. Locate the server s IP address and protocol port number 2 creates a socket 3 connections need to determine arbitrary, unused port allows TCP to choose a 4 and the socket server connections 5 using appli)
- 2016-07-11 10:19:07下载
- 积分:1
-
反步法计算的Matlab程序
说明: 基于matlab的反步法计算,欢迎大家下载,功能正常实现。(Matlab-based thermal power plant thermal balance calculation, welcome everyone to download, the function is normal.)
- 2019-04-14 22:28:56下载
- 积分:1
-
main
本程序描述了有导师学习神经网络回归拟合的一般方法,简单易懂(This procedure describes the teacher learning neural network and the method of regression fitting, easy to understand)
- 2014-11-06 15:31:46下载
- 积分:1
-
LockScreen
锁屏软件源码,可以锁住所以的操作,只有输入密码后才能解锁,界面很漂亮(Lock screen software source code, can be locked so the operation, only to enter a password to unlock the interface is very beautiful)
- 2012-07-16 14:53:06下载
- 积分:1
-
equation
线性方程组的计算,采用的是高斯消元法来实现的。只有主要的算法代码,没有写主函数(Calculation of linear equations using the Gauss elimination method to achieve. Only the main algorithm code, did not write the main function)
- 2010-08-05 19:34:04下载
- 积分:1
-
motor-c-program
电动工具控制源程序 投入量产运用,吐血共享(motor controler)
- 2013-11-09 14:22:07下载
- 积分:1
-
rtl8189驱动
RTL8189 WIFI驱动,在linux环境下和Android环境下进行移植的说明和相关的测试工具
- 2022-10-02 21:25:06下载
- 积分:1
-
MexDemo
matlab开发,在Vs2010里配置matlab调用环境(matlab developer)
- 2012-09-15 19:05:33下载
- 积分:1
-
自然连接
计算任意两个表的简单自然连接过程。假设有两个表A、B,分别为m1行、n1列和m2行、n2列,求它们简单自然连接的结果C=A B(i=j)。(A simple natural join procedure for computing two arbitrary tables. Suppose there are two tables A and B, which are M1 rows, N1 columns and M2 rows, N2 columns, and the result of their simple natural connection is C=A B (i=j).)
- 2017-10-31 17:35:34下载
- 积分:1