IOCP

Advertisement
 

This article presents a class which can be used in both the client and server code. The class uses IOCP (Input Output Completion Ports) and asynchronous (non-blocking) function calls which are explained later

With this simple report you could understood :

  • Service or connect to multiple clients and servers.
  • Send or receive files asynchronously.
  • Create and manage a logical worker thread pool to process heavier client/server requests or computations.

It is difficult to find a comprehensive but simple source code to handle client/server communications. The source codes that are found on the net are either too complex (20+ classes) or don't provide sufficient efficiency. This report is designed to be as simple and well documented as possible. In this article we will briefly present the IOCP technology provided by Winsock API 2.0 and also explain the thorny problems that arise while coding and the solution to each one of them.

 

 

Advertisement

© 2013 123seminarsonly.com All Rights Reserved.