Old fashion design for PC-104
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 09/11/2003
// PROJECT:
// SUBSYSTEM:
// FILE: LgGatewaySocketServer.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of LgGatewaySocketServer.h
//----------------------------------------------------------------------------
#ifndef __LG__REPORT__SOCKET__SERVER__H__INCLUDED__
#define __LG__REPORT__SOCKET__SERVER__H__INCLUDED__
#include "..\Socket\LgSocketServer.h"
#include "LgReportSocket.h"
#pragma once
class CLgReportSocketServer : public CLgSocketServer<CLgReportSocket>{public: CLgReportSocketServer(); virtual ~CLgReportSocketServer();
public: BOOL Create( WORD wPort );
private: virtual CLgSocketServerConnection<CLgReportSocket>* OnCreateConnection();
public: int Send2( PVOID pConnection, const void* lpBuf1, int nBufLen1, const void* lpBuf2, int nBufLen2 ); virtual void DispatchServerPacket( PVOID pConnection, PLG_REPORT_PACKET pPacket ) = 0; virtual void DispatchServerConnect( PVOID pConnection, BOOL bConnected, LPSOCKADDR_IN pSockAddr ) = 0;};
#endif
|