News for hackers. Stuff that matters.
Re:UDP vs TCP by Dylan16807 on Thursday December 29, 2016 @12:55AM (#13275878)
UDP doesn't cause things like not knowing if the other end is gone. You're being kind of ridiculous.
Re:UDP vs TCP by user5994461 on Thursday December 29, 2016 @01:00AM (#13275899)
UDP is connectionless, it just sends data to <somewhere>. Doesn't care if that somewhere is online, or available, or exists at all.
Re:UDP vs TCP by Dylan16807 on Thursday December 29, 2016 @01:14AM (#13275943)
If you don't check for returns, TCP isn't going to help either.

The requirements you listed don't make sense as written. Nobody would ever use UDP.

Re:UDP vs TCP by user5994461 on Thursday December 29, 2016 @01:58AM (#13276072)
TCP establishes a connection when it starts and it has build-in timeouts (and various mechanisms) to detect dead connections. TCP will signal to the application if the destination is unavailable or lost.

The requirements make sense and the common usages for UDP fit these requirements.

It's correct that [almost] nobody ever uses UDP. It's a niche protocol for a very few specific use cases, one of which is real-time FPS/RTS/MOBA games (which fits all the criteria I listed).

Re:UDP vs TCP by raarts on Friday December 30, 2016 @01:52AM (#13282988)
> it's correct that [almost] nobody ever uses UDP

Skype, Facetime, WhatsApp, Hangouts, Telco VoIP, Facebook Live, YouTube Live, Surveillance Cams, most VPNs.

Re:UDP vs TCP by the_mitsuhiko on Thursday December 29, 2016 @06:06AM (#13276717)
TCP by itself does not detect dead connections.
Re:UDP vs TCP by y4mi on Thursday December 29, 2016 @10:42AM (#13277847)
while its technically not a timeout, it is stopping the network traffic

the TCP packets require an ACK ever n packets, as defined by the FREQ field. If the ACK isn't received, no further packets are send.