DEV Community

Go Time

TCP & UDP

The internet wouldn’t exist as we know it if it weren’t for TCP and UDP, yet many developers don’t quite understand the technology powering the web. In this episode we talk with Adam Woodbeck, author of Network Programming with Go, to learn about TCP and UDP; what they are, how they work, and how one can experiment with tools like Wireshark and Go to learn more.

Discuss on Changelog News

Join Changelog++ to support our work, get closer to the metal, and make the ads disappear!

Sponsors

  • O'Reilly Media – Learn by doing — Python, data, AI, machine learning, Kubernetes, Docker, and more. Just open your browser and dive in. Learn more and keep your teams’ skills sharp at oreilly.com/changelog
  • Linode – Get $100 in free credit to get started on Linode – Linode is our cloud of choice and the home of Changelog.com. Head to linode.com/changelog OR text CHANGELOG to 474747 to get instant access to that $100 in free credit.
  • Sourcegraph – Sourcegraph is universal code search for every developer and team. Easily search across all the code that matters to you and your organization: find example code, explore and read code, debug issues, and more. Head to info.sourcegraph.com/changelog and click the button “Try Sourcegraph now” to get started.

Featuring

Notes and Links

Enter to win one of two FREE physical copies of Adam’s book! All you have to do is:

  1. Follow @GoTimeFM on Twitter
  2. RT this tweet announcing the episode
  3. Reply on that thread stating why you’re interested

We’ll announce winners at the end of the month. ✊

  • Network Programming with Go - Adam’s book that goes into even more details about TCP, UDP, coding examples in Go, and more on network programming.
  • net package - Go’s net package is a great place to start if you want to write code using TCP or UDP directly.
  • net.Conn interface - The net.Conn interface is mentioned on the episode and is worth checking out inside the net package.
  • Wireshark - A great tool for examining internet traffic on your computer and learning more about TCP and UDP.
  • google/gopacket - A package by Google for packet decoding.

Episode source