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在线招聘系统的设计与开发

Android手机考勤平台的设计与实现

基于android的环境信息管理系统设计

Android全国天气移动终端应用程序设计研究

Android员工请假系统设计

Android手机考勤系统设计

Android大学一卡通APP设计与开发+源代码

楼宇能源监控android端的设计+源代码

基于Joomla平台的计算机学院网站设计与开发

提高教育质量,构建大學生...

从政策角度谈黑龙江對俄...

浅谈高校行政管理人员的...

压疮高危人群的标准化中...

浅论职工思想政治工作茬...

AES算法GPU协处理下分组加...

STC89C52单片机NRF24L01的无线病房呼叫系统设计

酵母菌发酵生产天然香料...

上海居民的社会参与研究