Click here to Skip to main content
15,895,667 members
Articles / Desktop Programming / MFC

Writing Scalable Server Applications using IOCP

Rate me:
Please Sign up or sign in to vote.
4.15/5 (29 votes)
5 Feb 2001 454.2K   9.1K   155  
An article about using I/O Completion Ports and Winsock to write robust and scalable Windows server applications
#ifndef __CLIENT_0_H__
#define __CLIENT_0_H__

#include "general.h"
#include "client.h"

#define MAX_CONNECT_SECONDS	10
#define MAX_SILENT_SECONDS	30

class CClient_0 : public CClient
{
public:
	int ProcessPacket(tagPacket *p);
	void CreateInvalidPacket(tagPacket *p);
	void Maintenance();
};

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions