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大学生素质认证系统的设计

Android的网络借贷系统的设计

10万元能开儿童乐园吗,我...

医院财务风险因素分析及管理措施【2367字】

神经外科重症监护病房患...

中国学术生态细节考察《...

AT89C52单片机的超声波测距...

公寓空调设计任务书

C#学校科研管理系统的设计

志愿者活动的调查问卷表

国内外图像分割技术研究现状

承德市事业单位档案管理...