|
Monitoring a Client/Server TCP Connection (Scripting) |
|
|
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).
Preconditions
Performing the test
A) Route the traffic through Docklight Scripting In Device 1, change the communication parameters: Device 1 must connect to the Docklight PC (in our example IP 192.0.0.2).
B) Setup Docklight Scripting for operating as a bridge for the communication between Device 1 and Device 2
C) Running the test Start Docklight Scripting using Run >
NOTE: Docklight Scripting does not allow multiple connections on a SERVER port. Only one connection at a time may be used. This is similar to the default operation of many Serial Device Servers.
TIP: An example that can be tried on any computer with a web browser and Internet access is the TCP_Monitoring_HTTP.ptp project which can be found in the \Network folder of the ScriptSamples directory.
|