1min snip

Go Time: Golang, Software Engineering cover image

TCP & UDP

Go Time: Golang, Software Engineering

NOTE

UDP's Quiet Buffer: Beware the Overflow

In UDP communication, there is a receive buffer that holds incoming data until the application processes it. However, unlike TCP, UDP does not ensure delivery or acknowledgment of received packets, meaning there is no visibility into the status of the remote buffer. Data is transmitted to the remote side without confirmation of receipt, potentially leading to overflow and packet loss if the receiving application does not read the data promptly. This lack of feedback at the UDP level emphasizes the risk of sending data without knowing if the recipient can handle it effectively.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode