在Linux系统上使用Socket接口实现FTP客户端和服务器的程序,使客户端可以连接至服务器,并且可以进行一些FTP的基本操作。客户端和服务器的命令通道和数据通道需要分离,支持以下一些FTP命令: GET:取远方的一个文件 put:传给远方一个文件 pwd:显示远方当前目录 dir:列出远方当前目录 cd:改变远方当前目录 ?:显示提供的命令 quit:退出返回 !dir,列出本地当前目录。
上传时间: 2016-07-29
上传用户:huangld
If you have programming experience and a familiarity with C--the dominant language in embedded systems--Programming Embedded Systems, Second Edition is exactly what you need to GET started with embedded software. This software is ubiquitous, hidden away inside our watches, DVD players, mobile phones, anti-lock brakes, and even a few toasters. The military uses embedded software to guide missiles, detect enemy aircraft, and pilot UAVs. Communication satellites, deep-space probes, and many medical instruments would have been nearly impossible to create without embedded software.
标签: familiarity programming experience dominant
上传时间: 2013-12-11
上传用户:362279997
ajax打造的动态计数器,首次使用了交互的原理,原创作品,市面上相同的插件代码很少见哦~~~~ 1.以当前文件的文件名为统计基础。 2.ajax发送方式可以是GET/post,调用非常简单: 写在window.onload里是为了页面加载完成后才开始统计。 3.返回结果为纯数字,即当前页面的访问次数 4,单个页面对某一用户一天只记数一次(通过cookie方式实现) 注:如果客户端禁止了cookie,则通过服务器端进行判断,确保一个页面一天只记一次数。 其它:只做了一个单个页面访问次数的计数器,如果想要统计具体访问信息,可以自己写相应的后台页面,加入相应的功能。
上传时间: 2016-09-27
上传用户:waizhang
Linux下的tree命令,同window,功能更强大! 1、下载tree-1.5.1.1源程序 2、解压源码到工作目录tar zxvf tree-1.5.1.1.tgz 3、在tree-1.5.1.1目录交叉编译:make CC=arm-linux-gcc 4、安装:make prefix=/home/xxxx/rootfs install Ubuntu下 直接 apt-GET install tree 即可安装最新的tr
上传时间: 2016-09-27
上传用户:wangzhen1990
MATLAB的SVM算法实现,Matlab Support Vector Machine Toolbox,This toolbox was designed as a teaching aid, which matlab is particularly good for since source code is relatively legible and simple to modify. However, it is still reasonably fast if used with the supplied optimiser. However, if you really want to speed things up you should consider compiling the matrix composition routine for H into a mex function. Then again if you really want to speed things up you probably shouldn t be using matlab anyway... GET hold of a dedicated C program once you understand the algorithm.
上传时间: 2013-12-20
上传用户:jkhjkh1982
This a simple database management system. It doesn t use any other code (i.e. ODBC, ADO, etc.) and has it s own database file format. I wrote it because I found the other DBMSs code too bulky and hard to debug. It s designed for small applications and I doubt it could handle anything on a large scale. A sample program included in the .zip shows how everything works. The database project is a library project, so you ll have to compile and link with the .lib file to GET everything working. Pros: - You have the source code so you know exactly what it is doing - Database files are very small - Small and fast code Cons: - Can t handle large amounts of records (more than 65000ish) - Doesn t support SQL (you have to search the database by cycling through the records and testing them against your constraints) - Each database file can only have one table.
标签: i.e. management database simple
上传时间: 2016-10-02
上传用户:851197153
Given Perl s natural fit for web applications development, it s no surprise that Perl is also a natural choice for web services development. It s the most popular web programming language, with strong implementations of both SOAP and XML-RPC, the leading ways to distribute applications using web services. But books on web services focus on writing these applications in Java or Visual Basic, leaving Perl programmers with few resources to GET them started. "Programming Web Services with Perl" changes that, bringing Perl users all the information they need to create web services using their favorite language.
标签: Perl applications development surprise
上传时间: 2014-11-21
上传用户:xiaoyunyun
编写漏洞扫描器探查远程服务器上可能存在的具有安全隐患的文件是否存在,它的socket建立过程和上面 的端口扫描器是相同的,所不同的是漏洞扫描器通常使用80端口,然后对这个端口发送一个GET文件的请求,服务器接收到请求会返回文件内容,如果文件不存 在则返回一个错误提示,通过接收返回内容可以判断文件是否存在。发送和接收数据需要使用函数send()和recv(),另外对流中存在的字符串进行判断 需要使用函数strstr(),这除了需要具备socket函数库的知识以外,还需要一些有关string函数库的知识。
上传时间: 2013-12-08
上传用户:
For solving the following problem: "There is No Free Lunch" Time Limit: 1 Second Memory Limit: 32768 KB One day, CYJJ found an interesting piece of commercial from newspaper: the Cyber-restaurant was offering a kind of "Lunch Special" which was said that one could "buy one GET two for free". That is, if you buy one of the dishes on their menu, denoted by di with price pi , you may GET the two neighboring dishes di-1 and di+1 for free! If you pick up d1, then you may GET d2 and the last one dn for free, and if you choose the last one dn, you may GET dn-1 and d1 for free. However, after investigation CYJJ realized that there was no free lunch at all. The price pi of the i-th dish was actually calculated by adding up twice the cost ci of the dish and half of the costs of the two "free" dishes. Now given all the prices on the menu, you are asked to help CYJJ find the cost of each of the dishes.
标签: Limit following solving problem
上传时间: 2014-01-12
上传用户:362279997
If you are using Internet Explorer on Windows XP Service Pack 2, there is a security restriction disallowing scripts to run in files opened on your local machine. When you first try to run the examples, you will most likely GET a message saying, "To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer." To see the example, you must click on the message and select "Allow Blocked Content". JavaScript高级程序设计 里面自代源码
标签: restriction Explorer Internet security
上传时间: 2016-11-18
上传用户:源弋弋