Tag Archives: Sockets

Minimize Asynchronous Socket Callbacks With Dynamic Buffer Sizes

I’ve been doing a lot of work with .NET Sockets lately, and as I was thinking about the specific needs of my application I got an idea about a more optimal way to use sockets. In this article, I want to talk about the concept of reading a Socket asynchronously, raising events to notify your application when bytes are received, and minimizing the number of times the callback method is processed.

Continue reading