Socket I/O Models

1      The Blocking Model

Most Winsock programmers begin with the blocking model because it is the easiest and most straightforward model.

The advantage to the blocking model is its simplicity. For very simple applications and rapid prototyping, this model is very useful. The disadvantage is that it does not scale up to many connections as the creation of more threads consumes valuable system resources.

 

你可能感兴趣的:(Socket I/O Models)