
Contents
v
Communicating With TCP/IP Applications
Overview 3-3
Opening Connections 3-4
Opening a Requester Connection 3-4
Send Connection From DCS 300 to Application 3-5
Receive Connection From Application to DCS 300 3-5
Using TCP/IP Sockets 3-7
Establishing a Requester Connection 3-7
About Message Boundaries 3-8
Sending Data 3-9
Receiving Data 3-9
Understanding NetAck and NetError 3-11
How the DCS 300 Communicates With Applications 3-12
About Transaction Routing in a TCP/IP Network 3-14
Communicating Using the Direct TCP/IP Socket Interface 3-17
Using the Direct TCP/IP Socket Interface 3-19
About the $IPT Transaction ID 3-20
Using the $IPT Transaction ID 3-21
Format of OPEN Packet Sent From a Terminal to the DCS 300 3-21
Format of OPEN_ACK Packet Sent From the DCS 300 to a Terminal 3-21
Format of OPEN_NAK Packet Sent From the DCS 300 to a Terminal 3-21
Format of DATA Packet Sent From a Terminal 3-22
Format of DATA Packet Sent From the DCS 300 3-22
Format of CLOSE Packet Sent From a Terminal 3-22
Format of CLOSE Packet Sent From the DCS 300 3-23
Understanding Error Codes 3-23
Sample Program for JANUS 900 MHz RF Devices 3-25
Setting Up the Sample Program 3-25
Running the Sample Program 3-26
Sample Program for TRAKKER Antares UDP Plus Terminals 3-26
Setting Up the Sample Program 3-26
Running the Sample Program 3-27
Sample Program Examples 3-27
Using the Terminal Emulation Auto-Login Feature 3-29
Developing Auto-Login Scripts 3-29
Control Characters for Auto-Login Scripts 3-30
Sample Auto-Login Scripts 3-31
3