🛠️ToolsShed

Guide de Référence TCP vs UDP

Référence de comparaison des protocoles TCP et UDP — différences clés et cas d'utilisation.

Comparaison principale

FeatureTCPUDP
ConnexionOrienté connexion (handshake à 3 voies)Sans connexion
FiabilitéFiable (ACK, retransmission)Non fiable (best effort)
OrdonnancementOrdonné garantiPas de garantie d'ordre
VitessePlus lent (avec surcharge)Plus rapide (faible surcharge)
SurchargeÉlevéFaible
Contrôle de fluxOui (fenêtre glissante)Non
Contrôle de congestionOuiNon
Taille d'en-tête20-60 octets8 octets

Cas d'utilisation

TCPUDP
Web browsing (HTTP/HTTPS)DNS lookups
Email (SMTP, IMAP, POP3)Video streaming
File transfers (FTP, SFTP)Online gaming
Database connectionsVoIP calls
SSH / Remote accessNTP time sync
API requestsIoT sensor data

Ports courants

PortProtocoleService
20TCPFTP Data
21TCPFTP Control
22TCPSSH
23TCPTelnet
25TCPSMTP
53TCP/UDPDNS
67UDPDHCP Server
68UDPDHCP Client
80TCPHTTP
110TCPPOP3
123UDPNTP
143TCPIMAP
161UDPSNMP
162UDPSNMP Trap
389TCPLDAP
443TCPHTTPS
445TCPSMB
465TCPSMTPS
514UDPSyslog
587TCPSMTP Submission
636TCPLDAPS
993TCPIMAPS
995TCPPOP3S
1194UDPOpenVPN
3306TCPMySQL
3389TCPRDP
5432TCPPostgreSQL
5672TCPAMQP (RabbitMQ)
6379TCPRedis
8080TCPHTTP Alt
8443TCPHTTPS Alt
9200TCPElasticsearch
27017TCPMongoDB

Questions Fréquentes

Comments & Feedback

Comments are powered by Giscus. Sign in with GitHub to leave a comment.