During operation of the user to the client side as the main human-computer interaction , which contains a list of files to view the server into a folder , download, send and delete files or folders and other operations. Server is passively respond to the client's request operation , but without requiring the user to manually operate , it will automatically cycle resolution requests the client's instructions , then revert appropriate return instructions and data. Instruction is converted by a 4-byte integer array , all instructions corresponding numeric code is unique. Client requests and server responses instruction
The format used is so different . The client sends a full request data format: command + data length + data content , the length of which is an integer number is converted into an array of 4-byte array that indicates the length of the back of the data content , the latter may file the data content name or file information data . Full data recovery service side format: Reply command + data content , which is an array of 16 -byte instruction reply , its format is : Command + error message + terminator + data length , these four parts are 4 bytes array
Error message indicates that the server process in response to the type of error ( no error reply 0 ) ; terminator indicates that the current information is the first of several conditions, the current file path returns an end return 0 ; data length indicates the length of the back of the data content , it may be file name or text message data .
- 上一篇:C#房屋信息管理系统的设计与实现
- 下一篇:ASP.net在线招聘系统的设计与开发
-
-
-
-
-
-
-
java+mysql车辆管理系统的设计+源代码
电站锅炉暖风器设计任务书
杂拟谷盗体内共生菌沃尔...
乳业同业并购式全产业链...
河岸冲刷和泥沙淤积的监测国内外研究现状
中考体育项目与体育教学合理结合的研究
当代大学生慈善意识研究+文献综述
酸性水汽提装置总汽提塔设计+CAD图纸
十二层带中心支撑钢结构...
大众媒体对公共政策制定的影响