Software Sessions artwork

Async Programming and TCP Sockets in C# with Stephen Cleary

Software Sessions

English - March 25, 2020 05:00 - 55 minutes - 50.6 MB - ★★★★★ - 3 ratings
How To Education Technology software development software engineering Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed


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 codeUsing Async/Await and the Task Parallel Library instead of ThreadsAPIs to avoid when writing concurrent applicationsWhy you shouldn't write TCP SocketsContinuously reading from a socket to detect errorsBuilding state machines to manage socket connections

Related Links:

@aSteveClearyGetting Started with Async/AwaitTCP/IP SocketsThere is no ThreadConcurrency in C# Cookbook

Music by Crystal Cola:

Intro: 12:30 AMOutro: Orion


Twitter Mentions