Software Sessions
Software Sessions
Mar 25, 2020
Async Programming and TCP Sockets in C# with Stephen Cleary
Play • 55 min

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:


More episodes
Search
Clear search
Close search
Google apps
Main menu