Description: 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. Platform: |
Size: 5120 |
Author:艾萌 |
Hits:
Description: linux下的套接字编程TCP简单例子程序,适合初学者-TCP socket programming under linux simple example program, suitable for beginners Platform: |
Size: 1024 |
Author:kenneth |
Hits:
Description: TCP socket编程,实现C/S架构的基于TCP协议的通信。-TCP socket programming, C/S structure of the communication protocol based on TCP. Platform: |
Size: 2048 |
Author:zhangyuansheng |
Hits:
Description: 简单的linux网络编程,实现TCP、UDP的socket操作.包括循环和并发两种模式代码.-simple example for Linux internet program,inculude tcp\udp process,and cycle\simulated mode. Platform: |
Size: 11264 |
Author:zs |
Hits: