⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clientservercommon.h

📁 c++下s60终端对终端传输协议
💻 H
字号:
/* Copyright (c) 2006, Forum Nokia. All rights reserved */


#ifndef __CLIENTSERVERCOMMON_H__
#define __CLIENTSERVERCOMMON_H__

// INCLUDE FILES
#include <e32base.h>

// CONSTANTS
_LIT( KTmServerName,"TMServer" ); // Server name

// The server version. A version must be specified when
// creating a session with the server.
const TUint KTmServMajorVersionNumber=1;
const TUint KTmServMinorVersionNumber=1;
const TUint KTmServBuildVersionNumber=0;

// Maximum length of the descriptor received from/written to the client's
// address space
const TInt KTmMaxClientDescriptorLength = 150;

// DATA TYPES
// Opcodes used in message passing between client and server
enum TTmServRqst
    {
    ETmServRequestAddress,
    ETmServSetAddress,
    ETmServRequestPort,
    ETmServSetPort,
    ETmServRequestType,
    ETmServSetType,
    ETmServRequestAll,
    ETmServSetAll
    };

#endif // __CLIENTSERVERCOMMON_H__

// End of File

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -