Chapter 6

Scalable Winsock 2 Applications

 

 

 

COMPLETED PROJECT DOWNLOAD

 

What do we have in this chapter?

 

  1. APIs and Scalability

  2. AcceptEx()

  3. GetAcceptExSockaddrs()

  4. TransmitFile()

  5. TransmitPackets()

  6. ConnectEx()

  7. DisconnectEx()

  8. WSARecvMsg()

  9. Scalable Server Architecture

  10. Accepting Connections

  11. Data Transfers

  12. TransmitFile() and TransmitPackets()

  13. Resource Management

  14. Server Strategies

  15. High Throughput

  16. Maximizing Connections

  17. Performance Numbers

  18. Winsock Direct and Sockets Direct Protocol

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

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

 

Summary

 

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.

 

 

 

 

HOME

 

 
Custom Search

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