文件名称:tcp1
介绍说明--下载内容均来自于网络,请自行研究使用
远程控制系统
利用数据报套接字实现一个简单的远程控制系统:
客户端输入“quit”,客户端程序与服务器端程序打印退出信息,终止程序的执行;
客户输入命令,客户端将命令通过流套接字发送给客户端,服务器执行收到的命令,并将结果发送到客户端显示;
如果没有客户输入的命令,服务器发送命令非法信息,并在客户端显示该条信息。
-Remote control system to achieve a datagram socket using a simple remote control system: the client input " quit" , the client program and server-side program prints out information, to terminate program execution customer input command, the command through the streaming client socket to the client, the server receives the command and send the results to the client display If there is no customer input command, the server sends the command of illegal information, and information which the client display.
利用数据报套接字实现一个简单的远程控制系统:
客户端输入“quit”,客户端程序与服务器端程序打印退出信息,终止程序的执行;
客户输入命令,客户端将命令通过流套接字发送给客户端,服务器执行收到的命令,并将结果发送到客户端显示;
如果没有客户输入的命令,服务器发送命令非法信息,并在客户端显示该条信息。
-Remote control system to achieve a datagram socket using a simple remote control system: the client input " quit" , the client program and server-side program prints out information, to terminate program execution customer input command, the command through the streaming client socket to the client, the server receives the command and send the results to the client display If there is no customer input command, the server sends the command of illegal information, and information which the client display.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tcp1\c
....\s
....\tcpclient.c
....\tcpserver.c
tcp1
....\s
....\tcpclient.c
....\tcpserver.c
tcp1