Chapter 6:

Scalable Winsock 2 Applications




C & Winsock: The Kick Start programming tutorials


C & Linux Socket


Program Example Index


C#, VB .NET & C++/CLI Network Programming


Windows Device Driver Development & Program Examples


ReactOS - Windows OS Binary Compatible Open Source Project - C & C++







What do we have in this chapter?

  1. APIs and Scalability

  2. AcceptEx()







  3. Scalable Server Architecture

  4. Accepting Connections

    Data Transfers

  5. TransmitFile() and TransmitPackets()

  6. Resource Management

    Server Strategies

    High Throughput

    Maximizing Connections

    Performance Numbers

    Winsock Direct and Sockets Direct Protocol

  7. The I/O Completion Port IPv4/IPv6 Server Program Example

  8. The I/O Completion Port IPv4/IPv6 Server Continue...





In This chapter focused on writing high-performance, scalable Winsock servers for Windows NT-based operating systems. We discussed several of the Microsoft-specific Winsock extensions that greatly aid programmers in developing these servers. In addition, we covered several approaches to accepting connections so as to minimize the chance a client will receive a connection refused as well as how throughput can be maximized. Afterward we covered resource management, which is the core concept required to writing high performance servers. Finally, we compared the performance of the various I/O models introduced in previous chapter to see how well they scale when many client connections are attempted.





Custom Search



< Chap 5: I/O Methods | Part 1 | Part 2 | Part 3 | Part 4 | Chap 7: Winsock Socket Options & IOCTLs >


Share and email to your beloved friends and foes: