Terima kasih banyak telah berkunjung.

Selamat datang di website: www.harisprasetyo.web.id

Thursday, May 5, 2011

Pengertian serta perbedaan TCP dan UDP

Pengertian serta perbedaan TCP dan UDP

Mungkin sudah sering kita mendengar istilah TCP dan UDP, tapi belum tentu mengerti apa yang dimaksud dengan TCP dan UDP.

Apa yang dimaksud dengan TCP?
TCP (Transmission Control Protocol) adalah protokol yang paling umum digunakan pada dunia internet, karena kelebihan TCP yaitu adanya koreksi kesalahan. Dengan menggunakan protokol TCP, maka proses pengiriman akan terjamin. Hal ini disebabkan adanya bagian untuk sebuah metode yang disebut flow control. Flow control menentukan kapan data harus dikirim kembali, dan kapan menghentikan aliran data paket sebelumnya, sampai data tersebut berhasil ditransfer. Hal ini karena jika paket data berhasil dikirim, dapat terjadi sebuah ‘tabrakan’. Ketika ini terjadi, maka klien akan meminta kembali paket dari server sampai seluruh paket berhasil ditransfer dan identik dengan aslinya.

Apa yang dimaksud dengan UDP?
UDP (User Datagram Protocol) adalah protokol umum lainnya yang digunakan pada dunia internet dan merupakan connectionless. Hal ini berarti bahwa suatu paket yang dikirim melalui jaringan hingga sampai ke komputer lain tanpa membuat suatu koneksi. UDP tidak pernah digunakan untuk mengirim data penting seperti halaman web, informasi database, dan sebagainya. UDP biasanya digunakan untuk streaming audio dan video, karena kelebihan UDP yaitu menawarkan kecepatan transfer. UDP dapat lebih cepat daripada TCP karena pada protokol UDP tidak ada bentuk kontrol aliran dan koreksi kesalahan. Artinya UDP tidak mementingkan bagaimana keadaan koneksi, jadi jika terjadi pengiriman data maka tidak dijamin berhasil sampai atau tidaknya data tersebut. Pada UDP juga tidak ada pemecahan data, oleh karena itu tidak dapat melakukan pengiriman data dengan ukuran yang besar.
UDP mempunyai kelebihan dibandingkan TCP dengan tidak menggunakan field sequence dan acknowledgement. Keuntungan UDP yang paling jelas dari TCP adalah byte tambahan yang lebih sedikit. Di samping itu, UDP tidak perlu menunggu penerimaan atau menyimpan data dalam memory sampai data tersebut diterima. Ini berarti, aplikasi UDP tidak diperlambat oleh proses penerimaan dan memory dapat dibebaskan lebih cepat.

Apa perbedaan dari TCP dengan UDP?
Setelah melihat penjelasan di atas, sekarang kita dapat menyimpulkan mengenai perbedaan antara TCP dengan UDP.
 
TCP
  • Beroperasi berdasarkan konsep koneksi.
  • Jaminan pengiriman-penerimaan data akan reliable dan teratur.
  • Secara otomatis memecah data ke dalam paket-paket.
  • Tidak akan mengirimkan data terlalu cepat sehingga memberikan jaminan koneksi internet dapat menanganinya.
  • Mudah untuk digunakan, transfer paket data seperti menulis dan membaca file.
UDP
  • Tidak berdasarkan konsep koneksi, jadi harus membuat kode sendiri.
  • Tidak ada jaminan bahwa pengiriman dan penerimaan data akan reliable dan teratur, sehingga paket data mungkin dapat kurang, terduplikat, atau bahkan tidak sampai sama sekali.
  • Pemecahan ke dalam paket-paket dan proses pengirimannya dilakukan secara manual.
  • Harus membuat kepastian mengenai proses transfer data agar tidak terlalu cepat sehingga internet masih dapat menanganinya.
  • Jika paket ada yang hilang, perlu dipikirkan di mana letak kesalahan yang terjadi dan mengirim ulang data yang diperlukan.
Digunakan untuk apakah TCP dan UDP?
Berikut adalah daftar protocol/port yang biasanya digunakan untuk service system tertentu.
Protocol 47 – GRE – GRE (IP protocol 47) Routing and Remote Access
Protocol 50 – ESP – IPsec ESP (IP protocol 50) Routing and Remote Access
Protocol 51 – n/a AH IPsec AH (IP protocol 51) Routing and Remote Access
TCP Port 7 – Echo Simple TCP/IP Services
UDP Port 7 – Echo Simple TCP/IP Services
TCP Port 9 – Discard Simple TCP/IP Services
UDP Port 9 – Discard Simple TCP/IP Services
TCP Port 13 – Daytime Simple TCP/IP Services
UDP Port 13 – Daytime Simple TCP/IP Services
TCP Port 17 – Quotd Simple TCP/IP Services
UDP Port 17 – Quotd Simple TCP/IP Services
TCP Port 19 – Chargen Simple TCP/IP Services
UDP Port 19 – Chargen Simple TCP/IP Services
TCP Port 20 – FTP default data FTP Publishing Service
TCP Port 21 – FTP control FTP Publishing Service
TCP Port 21 – FTP control Application Layer Gateway Service
TCP Port 23 – Telnet Telnet
TCP Port 25 – SMTP Simple Mail Transfer Protocol
UDP Port 25 – SMTP Simple Mail Transfer Protocol
TCP Port 25 – SMTP Exchange Server
UDP Port 25 – SMTP Exchange Server
TCP Port 42 – WINS Replication Windows Internet Name Service
UDP Port 42 – WINS Replication Windows Internet Name Service
TCP Port 53 – DNS DNS Server
UDP Port 53 – DNS DNS Server
TCP Port 53 – DNS Internet Connection Firewall/Internet Connection Sharing
UDP Port 53 – DNS Internet Connection Firewall/Internet Connection Sharing
UDP Port 67 – DHCP Server DHCP Server
UDP Port 67 – DHCP Server Internet Connection Firewall/Internet Connection Sharing
UDP Port 69 – TFTP Trivial FTP Daemon Service
TCP Port 80 – HTTP Windows Media Services
TCP Port 80 – HTTP World Wide Web Publishing Service
TCP Port 80 – HTTP SharePoint Portal Server
TCP Port 88 – Kerberos Kerberos Key Distribution Center
UDP Port 88 – Kerberos Kerberos Key Distribution Center
TCP Port 102 – X.400 Microsoft Exchange MTA Stacks
TCP Port 110 – POP3 Microsoft POP3 Service
TCP Port 110 – POP3 Exchange Server
TCP Port 119 – NNTP Network News Transfer Protocol
UDP Port 123 – NTP Windows Time
UDP Port 123 – SNTP Windows Time
TCP Port 135 – RPC Message Queuing
TCP Port 135 – RPC Remote Procedure Call
TCP Port 135 – RPC Exchange Server
TCP Port 135 – RPC Certificate Services
TCP Port 135 – RPC Cluster Service
TCP Port 135 – RPC Distributed File System
TCP Port 135 – RPC Distributed Link Tracking
TCP Port 135 – RPC Distributed Transaction Coordinator
TCP Port 135 – RPC Event Log
TCP Port 135 – RPC Fax Service
TCP Port 135 – RPC File Replication
TCP Port 135 – RPC Local Security Authority
TCP Port 135 – RPC Remote Storage Notification
TCP Port 135 – RPC Remote Storage Server
TCP Port 135 – RPC Systems Management Server 2.0
TCP Port 135 – RPC Terminal Services Licensing
TCP Port 135 – RPC Terminal Services Session Directory
UDP Port 137 – NetBIOS Name Resolution Computer Browser
UDP Port 137 – NetBIOS Name Resolution Server
UDP Port 137 – NetBIOS Name Resolution Windows Internet Name Service
UDP Port 137 – NetBIOS Name Resolution Net Logon
UDP Port 137 – NetBIOS Name Resolution Systems Management Server 2.0
UDP Port 138 – NetBIOS Datagram Service Computer Browser
UDP Port 138 – NetBIOS Datagram Service Messenger
UDP Port 138 – NetBIOS Datagram Service Server
UDP Port 138 – NetBIOS Datagram Service Net Logon
UDP Port 138 – NetBIOS Datagram Service Distributed File System
UDP Port 138 – NetBIOS Datagram Service Systems Management Server 2.0
UDP Port 138 – NetBIOS Datagram Service License Logging Service
TCP Port 139 – NetBIOS Session Service Computer Browser
TCP Port 139 – NetBIOS Session Service Fax Service
TCP Port 139 – NetBIOS Session Service Performance Logs and Alerts
TCP Port 139 – NetBIOS Session Service Print Spooler
TCP Port 139 – NetBIOS Session Service Server
TCP Port 139 – NetBIOS Session Service Net Logon
TCP Port 139 – NetBIOS Session Service Remote Procedure Call Locator
TCP Port 139 – NetBIOS Session Service Distributed File System
TCP Port 139 – NetBIOS Session Service Systems Management Server 2.0
TCP Port 139 – NetBIOS Session Service License Logging Service
TCP Port 143 – IMAP Exchange Server
UDP Port 161 – SNMP SNMP Service
UDP Port 162 – SNMP Traps Outbound SNMP Trap Service
TCP Port 389 – LDAP Server Local Security Authority
UDP Port 389 – LDAP Server Local Security Authority
TCP Port 389 – LDAP Server Distributed File System
UDP Port 389 – LDAP Server Distributed File System
TCP Port 443 – HTTPS HTTP SSL
TCP Port 443 – HTTPS World Wide Web Publishing Service
TCP Port 443 – HTTPS SharePoint Portal Server
TCP Port 443 – RPC over HTTP Exchange Server 2003
TCP Port 445 – SMB Fax Service
TCP Port 445 – SMB Print Spooler
TCP Port 445 – SMB Server
TCP Port 445 – SMB Remote Procedure Call Locator
TCP Port 445 – SMB Distributed File System
TCP Port 445 – SMB License Logging Service
TCP Port 445 – SMB Net Logon
TCP Port 464 – Kerberos Password V5 Net Logon
UDP Port 500 – IPsec ISAKMP Local Security Authority
TCP Port 515 – LPD TCP/IP Print Server
TCP Port 548 – File Server for Macintosh File Server for Macintosh
TCP Port 554 – RTSP Windows Media Services
TCP Port 563 – NNTP over SSL Network News Transfer Protocol
TCP Port 593 – RPC over HTTP endpoint mapper Remote Procedure Call
TCP Port 593 – RPC over HTTP Exchange Server
TCP Port 636 – LDAP SSL Local Security Authority
UDP Port 636 – LDAP SSL Local Security Authority
TCP Port 993 – IMAP over SSL Exchange Server
TCP Port 995 – POP3 over SSL Exchange Server
TCP Port 1067 – Installation Bootstrap Service Installation Bootstrap protocol server
TCP Port 1068 – Installation Bootstrap Service Installation Bootstrap protocol client
TCP Port 1270 – MOM-Encrypted Microsoft Operations Manager 2000
TCP Port 1433 – SQL over TCP Microsoft SQL Server
TCP Port 1433 – SQL over TCP MSSQL$UDDI
UDP Port 1434 – SQL Probe Microsoft SQL Server
UDP Port 1434 – SQL Probe MSSQL$UDDI
UDP Port 1645 – Legacy RADIUS Internet Authentication Service
UDP Port 1646 – Legacy RADIUS Internet Authentication Service
UDP Port 1701 – L2TP Routing and Remote Access
TCP Port 1723 – PPTP Routing and Remote Access
TCP Port 1755 – MMS Windows Media Services
UDP Port 1755 – MMS Windows Media Services
TCP Port 1801 – MSMQ Message Queuing
UDP Port 1801 – MSMQ Message Queuing
UDP Port 1812 – RADIUS Authentication Internet Authentication Service
UDP Port 1813 – RADIUS Accounting Internet Authentication Service
UDP Port 1900 – SSDP SSDP Discovery Service
TCP Port 2101 – MSMQ-DCs Message Queuing
TCP Port 2103 – MSMQ-RPC Message Queuing
TCP Port 2105 – MSMQ-RPC Message Queuing
TCP Port 2107 – MSMQ-Mgmt Message Queuing
TCP Port 2393 – OLAP Services 7.0 SQL Server: Downlevel OLAP Client Support
TCP Port 2394 – OLAP Services 7.0 SQL Server: Downlevel OLAP Client Support
UDP Port 2460 – MS Theater Windows Media Services
UDP Port 2535 – MADCAP DHCP Server
TCP Port 2701 – SMS Remote Control (control) SMS Remote Control Agent
UDP Port 2701 – SMS Remote Control (control) SMS Remote Control Agent
TCP Port 2702 – SMS Remote Control (data) SMS Remote Control Agent
UDP Port 2702 – SMS Remote Control (data) SMS Remote Control Agent
TCP Port 2703 – SMS Remote Chat SMS Remote Control Agent
UPD Port 2703 – SMS Remote Chat SMS Remote Control Agent
TCP Port 2704 – SMS Remote File Transfer SMS Remote Control Agent
UDP Port 2704 – SMS Remote File Transfer SMS Remote Control Agent
TCP Port 2725 – SQL Analysis Services SQL Analysis Server
TCP Port 2869 – UPNP Universal Plug and Play Device Host
TCP Port 2869 – SSDP event notification SSDP Discovery Service
TCP Port 3268 – Global Catalog Server Local Security Authority
TCP Port 3269 – Global Catalog Server Local Security Authority
UDP Port 3343 – Cluster Services Cluster Service
TCP Port 3389 – Terminal Services NetMeeting Remote Desktop Sharing
TCP Port 3389 – Terminal Services Terminal Services
UDP Port 3527 – MSMQ-Ping Message Queuing
UDP Port 4011 – BINL Remote Installation
UDP Port 4500 – NAT-T Local Security Authority
TCP Port 5000 – SSDP legacy event notification SSDP Discovery Service
UDP Port 5004 – RTP Windows Media Services
UDP Port 5005 – RTCP Windows Media Services
TCP Port 6001 – Information Store Exchange Server 2003
TCP Port 6002 – Directory Referral Exchange Server 2003
TCP Port 6004 – DSProxy/NSPI Exchange Server 2003
TCP Port 42424 – ASP.Net Session State ASP.NET State Service
TCP Port 51515 – MOM-Clear Microsoft Operations Manager 2000

No comments:

Post a Comment

Komentar Diperlukan Untuk Bila Kurang Paham Atau Ingin Bertanya Seputar Artikel Yang Dibaca...