登录
首页 » Linux Network » Linux环境下Socket编程: 1.网络时间服务器timeserver,为网络上的用户提供时间服务,即为网络用户返回服务器的当前时间;记录发出请求的网络...

Linux环境下Socket编程: 1.网络时间服务器timeserver,为网络上的用户提供时间服务,即为网络用户返回服务器的当前时间;记录发出请求的网络...

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

代码说明:

Linux环境下Socket编程: 1.网络时间服务器timeserver,为网络上的用户提供时间服务,即为网络用户返回服务器的当前时间;记录发出请求的网络用户的IP地址(保存到文件中),格式如下: IP地址 请求时间 时间服务客户端timeclient,该客户端能够向服务器发送时间服务请求,并把获得的时间返回给用户。 采用TCP协议编写一个远程数据备份服务器,运行客户端将本地文件备份到远程的服务器中。 -Socket Programming Linux environment: 1. Network Time server timeserver, users on the network time service, namely, Internet users to return the server" s current time record request the user" s IP network address (saved to a file), format are as follows: IP address of a request for the time spent by service clients timeclient, the client can send to the server time to service requests, and to get the time to return to the user. TCP protocol used to prepare a remote data backup server, run the client local file backup to a remote server.

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

发表评论

0 个回复

  • 696524资源总数
  • 103939会员总数
  • 12今日下载