Windowless randomly-selectable file transmission method based on UDP protocol
A technology of random selection and file transmission, applied in the field of UDP transmission, it can solve the problems of incomplete files and waste of resources, and achieve the effect of improving transmission speed and reducing waste of resources.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0041] Embodiments of the present invention are described in further detail below in conjunction with the accompanying drawings:
[0042] Such as Figure 1-3 Shown, a kind of file transfer method based on UDP protocol windowless can be randomly selected, the method comprises the following steps:
[0043] Step S1, the server reads the file data, sends the file size information to the client, and the client establishes a corresponding buffer area to receive the file;
[0044] Step S2, the server divides the file into a corresponding number of data packets according to the number of transmission threads, and marks the data packets, and the server sends the data packets and the data packet annotation information to the client based on the UDP protocol multi-threaded simultaneously.
[0045] Further, the step S2 includes:
[0046] Step S2-1, the server side reads the file, enables multi-threading and numbers the threads;
[0047] Step S2-2, the thread reads the cutting file data...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


