Mainstream Network Library Overview

Part I – .Net Networking Briefing All .Net networking facilities are build on top of Winsock2 subsystem, so concepts such as non-blocking I/O, async I/O and I/O multiplexing can all be applied to the managed world. .Net network framework just wrapped Winsock2 and added some extra abstraction. Most of the wrapping stuff is done through…


Winsock I/O Model – Part II : Implementation

Winsock I/O Model – Part II : Implementation In the previous post[6], I summarized several scalable network I/O models in theory. In this article, I will give concrete code to show how to use each model to build a scalable network server. Building scalable server is a challenging task and needs a lot of considerations,…

1

Winsock I/O Model – Part I : Concept

Winsock I/O Model – Part I : Concept The basic steps to do windows socket programming are simple and straightforward: Server Side   Initialize Winsock. Create a socket. Bind the socket. Listen on the socket for a client. Accept a connection from a client. Receive and Send data. Disconnect. Client Side   Initialize Winsock. Create…

4