The present time is characterized by the active use of information and communication technologies in education, in particular distance educational technologies. The widespread use of distance learning is due to the ability to study at a convenient time, in a convenient place and pace, providing students with equal opportunities to receive education regardless of their place of residence, health status and material situation. Moreover, and due to the current epidemic in the world, distance learning has become a necessity, accompanied by an increased load on the Internet, therefore, and based on the importance of distance learning in our time, it is necessary to develop effective data transfer algorithms to ensure the optimal operation of the distance learning process. This paper discusses the various mechanism and network protocols used in distance learning, and technical requirements almost for each of them, suggests a new mechanism and algorithm for supporting the transmission of multimedia packets which are very essential and important in the process of distance learning, explains the concept of quality-of-service QoS in computer networks and its importance to provide a good data transmission through the network, Quality of service is based on the management of such data transmission parameters as network bandwidth, information transmission delay, percentage of packet loss in the network and jitter, every type of network application imposes its own QoS requirements to ensure successful and effective data transfer, and our main task will be to optimize quality of service parameters in order to provide the best data transmission for distance learning. © 2021, National Defence University - Carol I Printing House. All rights reserved.