User guide
Table Of Contents
- 2727-UM002D-EN-P, MobileView Guard G750 Terminal User Manual
- Important User Information
- Table of Contents
- Preface
- Chapter 1 - Overview
- Chapter 2 - Safety Precautions and Elements
- Chapter 3 - Terminal Connections
- Chapter Objectives
- Mounting and Connecting the Junction Box
- Accessing/Wiring the MobileView Connection Compartment
- Connecting a Computer using the RS-232 Serial Port
- Making an Ethernet Connection
- Using the PC Card Slot
- Connecting a Keyboard / Printer Using the IrDA Interface
- Installing the Mounting Bracket
- Chapter 4 - Configuring the MobileView Terminal
- Chapter 5 - Using RSView ME Station
- Chapter 6 - CE Thin Client Operating Instructions
- Chapter 7 - Windows CE Applications
- Chapter 8 - Maintenance and Troubleshooting
- A - Specifications
- B - Security Considerations
- C - Available Fonts for Terminal Applications
- Index
- Back Cover

Publication 2727-UM002D-EN-P
7-6 Windows CE Applications
Example: Interface on Server
On the server side, the VC protocol is represented by two classes:
CKVCServerand CKVCConnection. An object of the CKVCServer class
represents the actual server (the "listener") and an object of the
CKVCConnection class represents a connection to a client.
"Server class"
class CKVCServer {
public:
virtual CKVCConnection* OnClientConnect(const char
*pIpAdr)= 0;
virtual int OnClientDisconnect(CKVCConnection
*pConnection,
TDisconInfo info);
};
CKVCConnection* OnClientConnect(SOCKET socket, sockaddr_in
&sockAdr);
This method is always called when a terminal establishes a connection
to the control. The parameters socket and sockAdr specify the
connection parameters of the terminal. This function must return a
pointer to an object of the CKVCConnection class. A return value of
0 indicates that the control rejects the logon of the terminal.
int OnClientDisconnect(CKVCConnection *pConnection,
TDisconInfo info);
This method will be called if the server cannot reach the client any
more. The cause of the logoff is specified in info.