资 源 简 介
用socket 编程接口编写两个程序,分别为客户程序(client.c)和服务器程序(server.c),该程序应能实现下述命令功能:
get:取远方的一个文件
put:传给远方一个文件
pwd:显示远主当前目录
dir:列出远方当前目录
cd :改变远方当前目录
? :显示你提供的命令
quit :退出返回
-Socket programming interface used to prepare the two procedures, namely client (client.c) and server (server.c), the program should be able to function to achieve the following command: get: get a file from afar put: to the distance a file pwd: display current directory far the main dir: lists the current remote directory cd: to change the current directory from afar? : Shows you the command quit: exit to return to