![Software Sessions artwork](https://is3-ssl.mzstatic.com/image/thumb/Podcasts123/v4/58/c3/72/58c37201-b458-844d-c480-5523737fc72d/mza_6824633690798782520.jpg/100x100bb.jpg)
Async Programming and TCP Sockets in C# with Stephen Cleary
Software Sessions
English - March 25, 2020 05:00 - 55 minutes - 50.6 MB - ★★★★★ - 3 ratingsHow To Education Technology software development software engineering Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Previous Episode: How I write backends with Federico Pereiro
Next Episode: League of Legends Gameplay Engineering with Iris Zhang
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 connectionsRelated Links:
@aSteveClearyGetting Started with Async/AwaitTCP/IP SocketsThere is no ThreadConcurrency in C# CookbookMusic by Crystal Cola:
Intro: 12:30 AMOutro: Orion