0% found this document useful (0 votes)
128 views1 page

Docklight Application Note TCP Monitoring

This document discusses using Docklight Scripting software to monitor and debug TCP connections between devices. It describes how Docklight Scripting can act as a bridge, allowing a client to connect to it rather than the intended server. This allows all communication data to be monitored and debugged with ease, as with serial connections, without needing specialized TCP/IP testing tools. Docklight Scripting redirects the client connection to the actual server IP and port, intercepting all traffic between them for debugging purposes.

Uploaded by

Yuksel Nuhoglu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
128 views1 page

Docklight Application Note TCP Monitoring

This document discusses using Docklight Scripting software to monitor and debug TCP connections between devices. It describes how Docklight Scripting can act as a bridge, allowing a client to connect to it rather than the intended server. This allows all communication data to be monitored and debugged with ease, as with serial connections, without needing specialized TCP/IP testing tools. Docklight Scripting redirects the client connection to the actual server IP and port, intercepting all traffic between them for debugging purposes.

Uploaded by

Yuksel Nuhoglu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Docklight_Application_Note_TCP_Monitoring.

doc

Docklight Application Note: TCP Monitoring


1 Monitoring a single client/server TCP connection
Many products in industry automation that were equipped with RS232 or RS422/485 interfaces, are
nowadays accessible through an Ethernet connector and TCP/IP protocol. One common approach for
adding network connectivity to a product is to equip it with an embedded Serial Device Server. It acts as a
TCP server on the Ethernet side, and translates incoming TCP data to serial data and vice versa.
In contrast to web and multimedia applications with high demands on bandwidth, the data rates for such
“ex RS232” serial connections remains low. Client applications will also just open one single connection to
one specific TCP port number, instead of establishing multiple connections at the same time.
Device 1 Device 2
client connects to server using Server IP 192.0.0.1
IP:PortNo = 192.0.0.1:3001 TCP Port 3001

Network
TCP TCP Server
Client
PC

Figure 1: Simple TCP point-to-point connection between a client and a server

Still, debugging such network applications can be a complicated and time-consuming task. Dedicated
TCP/IP testing tools are required, which are many times difficult to use and oversized for simple industry
application protocols like MODBUS/TCP.
Docklight Scripting allows you to monitor and debug a TCP-based application with the same ease as when
using RS232 ports and cables. Instead of using a Docklight Monitoring Cable between the two devices
being tested, you can run Docklight Scripting within the network and simply have the client (Device 1)
connect to Docklight Scripting instead of the network-enabled product (Device 2).

Device 1 Device 2
Client connects to Docklight using Server IP 192.0.0.1
IP:PortNo = 192.0.0.2:3001 TCP Port 3001

Network
TCP TCP Server
Client
PC

Docklight Channel 1 Docklight Channel 2


SERVER:3001 192.0.0.1:3001

Docklight
Software

Local IP Address
192.0.0.2

Figure 2: Using Docklight Scripting as a bridge between client and server, monitoring all communication data

Date 2008-06-18
Auth.. Heggelbacher
Docklight Application Note: TCP Monitoring
Applies to: Docklight Scripting V1.7 / V1.8

V1.1 Minor correct. 2008-06-18 He


V1.0 First release 2007-04-18 He Flachmann und Page
V0.4 draft 2007-02-23 He Heggelbacher Docklight Application Note 1/1
Ver. Comment Date Name www.fuh-edv.de

You might also like