Click here to Skip to main content
15,891,423 members
Articles / Programming Languages / C#

How to Implement and Use Awaitable Sockets in C# using TAP

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
23 Jul 2020MIT12 min read 21.7K   422   16  
Explore adapting Socket's async model to a task based one and adding some awaitable socket operations to your projects
Create an awaitable socket by adapting the EAP programming model used by Socket to the newer awaitable Task-based Asynchronous Pattern (TAP) programming model. The demo then demonstrates using this model to serve a simple HTTP request entirely asynchronously.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
United States United States
Just a shiny lil monster. Casts spells in C++. Mostly harmless.

Comments and Discussions