
Difference between TCP and UDP? - Stack Overflow
There only a right tool for a job, no panacea. TCP/UDP coexist for decades, and for a reason. TCP. It was designed to be extremely reliable and it does its job very well. It's so complex because it accomplishes a hard task: providing a reliable transport over the unreliable IP protocol.
network programming - Can HTTP/HTTPS use UDP? - Stack Overflow
Besides HTTP, it can be used for HTTPS too, thanks to QUIC protocol, as before mentioned. As an example: if you're aiming to block HTTPS traffic on a Linux Router with IPTABLES/Netfilter, considering hosts that are on the LAN side, you cannot rely just on rules for dropping incoming connection with 443 as source port, considering transmission via TCP.
TCP vs UDP - What is a TCP connection? - Stack Overflow
What exactly is a TCP connection? I understand there isn't a physical connection from the client to server. Is this connection just the client's socket being linked with the new socket created by the
What are examples of TCP and UDP in real life? - Stack Overflow
2011年3月16日 · Almost all data that moves across the internet does so via TCP - HTTP, SMTP, BitTorrent, SSH, etc, all use TCP. UDP is appropriate when you have small messages which you can afford to lose, and would like to send them as efficiently as possible. One reason you might be able to afford to lose them is because you can re-send them if they get lost.
windows - Is LDAP a TCP or a UDP protocol? - Stack Overflow
2011年5月6日 · Protocol dependencies TCP/UDP: Typically, LDAP uses TCP or UDP (aka CLDAP) as its transport protocol. The well known TCP and UDP port for LDAP traffic is 389. SSL/TLS: LDAP can also be tunneled through SSL/TLS encrypted connections. The well known TCP port for SSL is 636 while TLS is negotiated within a plain TCP connection on port 389.
TCP stream vs UDP message - Stack Overflow
2013年7月3日 · UDP is a connection-less transport protocol (just like IP) with data unit called datagram. So unlike tcp, UDP transfers data without setting up a connection just sending down datagram messages to IP layer in order to be transferred.
Can TCP be implemented via UDP? - Stack Overflow
If you're asking if you can use UDP as a Layer 2, then the answer is yes, sort of.There are various protocols that allow you to create a tunnel to another network using a UDP transport, such as L2TP and even IPsec (with NAT traversal).
Is SMTP based on TCP or UDP? - Stack Overflow
2013年5月29日 · In theory SMTP can be handled by either TCP, UDP, or some 3rd party protocol. As defined in RFC 821, RFC 2821, and RFC 5321: SMTP is independent of the particular transmission subsystem and requires only a reliable ordered data stream channel.
Why Does RTP use UDP instead of TCP? - Stack Overflow
2008年12月12日 · RTP is fairly insensitive to packet loss, so it doesn't require the reliability of TCP. UDP has less overhead for headers so that one packet can carry more data, so the network bandwidth is utilized more efficiently. UDP provides fast data transmission also. So UDP is the obvious choice in cases such as this.
Icecast transport layer protocol - TCP or UDP? - Stack Overflow
2020年10月11日 · I don't seem to find a answer, so I'm asking you. Does a stock Icecast2 server use TCP or UDP to broadcast the streaming data? I know that it uses a custom HTTP based Application Layer protocol, so...