Comparative Analysis of TCP and UDP Protocol Performance in Sending Text Messages Using Chatting Applications

  • Wasis Haryono Universitas Pamulang

Abstract

TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) communication protocols are two main protocols used to send data over a computer network. Although both are often used in various network applications, they have different characteristics in terms of reliability, speed, and efficiency. This study aims to conduct a comparative analysis of the performance between TCP and UDP protocols in sending text messages using a chat application. This study was conducted by measuring several main parameters such as message delivery time, reliability level, latency, and throughput. In the TCP protocol, which is connection-oriented, the test results show that text messages are sent with a high level of reliability due to the flow control mechanism, packet sequencing, and retransmission of lost packets. However, this causes higher latency than UDP. In contrast, the UDP protocol, which is connectionless, is able to send messages with lower latency and higher throughput, but does not guarantee message reliability, because there is no retransmission mechanism for lost or damaged packets. The results of this study indicate that the choice between TCP and UDP depends on the specific needs of the application. If the main priority is message delivery reliability, TCP is superior. However, if speed and efficiency are more important, such as in real-time chat applications, UDP can be a better choice. This research is expected to help application developers in choosing the right protocol based on the performance needs of the application used.

Downloads

Download data is not yet available.

References

D. Sulistio, “Comparative Analysis Of Voice Over IP Service Performance On MPLS Network Using UDP, SCTP, And TFRC Protocols ,” vol. 3, no. 2, pp. 1485–1492, 2016.

J. Jusak, A. Sukmaaji, S. Surabaya, and F. Adinata, “Journal of Control and Network Systems,” no. June, 2014.

A. H. Jatmika and A. Zubaidi, “Comparative Analysis Of TCP And UDP Traffic Mode Performance Using AODV And DSR Routing Protocols In Manet Networks( Comparisonal Analysis of TCP And UDP Traffic Mode Performance Using AODV And DSR Routing Protocols On Manet Networks ),” vol. 4, no. 1, pp. 21–26, 2022.

A. Kinerja, T. Jaringan, W. Pada, T. Informatika, I. Sains, and T. Akprind, “Wireless Local Area Network ( WLAN ),” vol. 4, no. 2, pp. 48–62, 2016.

A. Suyatno, “Application of Network Security System Model Based on Demilitarized Zone,” vol. 4, no. 1, pp. 6–12, 2009.

F. Ugm and F. Ugm, “VoIP Quality Analysis Running on Datagram Congestion Control Protocol,” vol. 3, no. 1, pp. 35–46, 2013.

D. Dccp, M. Trafik, and D. Bursty, “Journal of Control and Network Systems,” vol. 5, no. 1, pp. 1–9, 2016.

A. Kurniastuti, “Getting to Know LAN Networks,” J. Mat. dan Komput., vol. 4, no. 3, pp. 130–138, 2001.

R. Mentang, A. A. E. Sinsuw, X. B. N. Najoan, and J. T. Elektro-ft, “Design and Analysis of Wireless Network Security Using Wireless Intrusion Detection System,” vol. 5, no. 7, pp. 35–44, 2015.

I. N. Diana, “Affine Cipher Algorithms and Affine Cipher Modifications, and Their Combinations with Symmetric Group Transposition Ciphers to Secure Text Messages”.2022.

Published
2025-01-31
How to Cite
[1]
Wasis Haryono, “Comparative Analysis of TCP and UDP Protocol Performance in Sending Text Messages Using Chatting Applications”, JI, vol. 10, no. 1, pp. 41-48, Jan. 2025.