Software Sessions cover image

Software Sessions

Async Programming and TCP Sockets in C# with Stephen Cleary

Mar 25, 2020
55:16

Stephen Cleary is the author of the Concurrency in C# Cookbook and a Microsoft MVP. He has also written many blog posts on asynchronous programming.

We discuss:

  • Why he calls manual thread creation legacy code
  • Using Async/Await and the Task Parallel Library instead of Threads
  • APIs to avoid when writing concurrent applications
  • Why you shouldn't write TCP Sockets
  • Continuously reading from a socket to detect errors
  • Building state machines to manage socket connections

Related Links:

Music by Crystal Cola:


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