

To applications running on Windows NT 4.0 and Windows 2000. Primary focus will be the server side of the client/ server model however, manyĪpplication implies a server application, the following discussion is pertinent

Windows 2000-based applications that use Windows® Sockets 2.0 (Winsock2). This article will discuss the development of scalable Windows NT® and Network applications that scale from a single connection to many thousands ofĬonnections. In reality, though, there are justĪ few principles to master-creating and connecting a socket, accepting aĬonnection, and sending and receiving data. The most common problems with scalability.Īpplications has never been considered easy. Server, discusses handling low-resource, high-demand conditions, and addresses The article begins with a discussion of the implementation Completion ports and Windows Sockets 2.0 can be used to design applications that will scale to thousands of connections. Overlapped I/O using completion ports provides true scalability on Windows NT and Windows 2000. Writing a network-aware application isn't difficult, but writing one that is scalable can be challenging. This article assumes you’re familiar with 1 2 3ĭownload the code for this article: Jones1000.exe (33KB)īrowse the code for this article at Code Center: WinSock Demo Windows socket 2.0:用completion ports写可伸缩的winsock程序 Windows Sockets 2.0: Write Scalable Winsock Apps Using Completion Ports
