TCP vs UDP, and When to Reach for Each

TCP is a reliable byte stream, UDP is fire-and-forget messages. The short version, with Node socket examples.