---
title: "[Modules] How to testing TCP connections?"
url: "https://maker.wiznet.io/forum/12766"
markdown_url: "https://maker.wiznet.io/forum/12766/md"
type: "Forum topic"
category: "General"
author: "Edward"
created: "2018-02-22T08:14:17+09:00"
last_activity: "2018-05-30T08:25:29+09:00"
language: "en"
views: 11362
replies: 3
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# [Modules] How to testing TCP connections?

## Question

Asked by Edward on 2018-02-22 in General.

To test the TCP connection of the products, you need to install the freeware tool to use on the PC.
Tool called Hercules and is provided by HW group.
(You can download it from the Download & Links menu on the link below.)
<https://www.hw-group.com/products/hercules/index_en.html>

Hercules program can test communication such as Serial Tab / TCP Client / TCP Server / UDP.

[![hercules1](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/9/95e75fe90ab88924c5f55035d672003b68760b69.png) hercules1621×543 13.8 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/9/95e75fe90ab88924c5f55035d672003b68760b69.png)

So, from now on after freeware install done, let explain about TCP communication tests.
This test report based on WIZ750SR. If you use the other serial to ethernet devices, It is all same way.

---

When you use WIZ750SR serial to ethernet, You need to configuration tool.
<https://wizwiki.net/wiki/doku.php?id=products:wiz750sr:download:start#wiznet_s2e_configuration_tool>
Now we will use configuration tool and test to hercules program.

**TCP Server** test way is refer to below list.

1. Execute configuration tool and push to “search icon”.

2. Set to network and operation mode. (TCP Server)

3. After set done, push to “Setting icon” on the configuration tool.

4. Search again on configuration tool.
   [![config_TCPserver](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/6/6b1e96d34ec9b46ebbb2a79fa6ae50da6ec211bb.png) config_TCPserver899×751 52.3 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/6/6b1e96d34ec9b46ebbb2a79fa6ae50da6ec211bb.png)

5. Execute hercules program. (PC set TCP client)

6. Set TCP client tap and set IP and port.

7. Click to connect button

8. If you connect to serial cable, you can do TCP tests. (refer to below image)

[![TCPServer](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/1/10f1cd5bea4e71add09d7adbacb744be78365522.png) TCPServer1243×544 22 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/1/10f1cd5bea4e71add09d7adbacb744be78365522.png)

## Replies

### Reply 1 by Edward, 2018-05-30

**TCP Client** test way is refer to below list.

1. Execute configuration tool and push to “search icon”.

2. Set to network and operation mode. (TCP Client)

3. After set done, push to “Setting icon” on the configuration tool.

4. Search again on configuration tool.
   [![config_TCPclient](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/5/5092c09ebf8647e7371a8d83225189aec472796d.png) config_TCPclient902×750 51.2 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/5/5092c09ebf8647e7371a8d83225189aec472796d.png)

5. Execute hercules program. (PC set TCP Server)

6. Set TCP server tap and set IP and port.

7. Click to listen button

8. If you connect to serial cable, you can do TCP tests. (refer to below image)

[![TCPClient](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/4/45d0105980d5b1b849aa620a68943b57e92376f2.png) TCPClient1245×544 22 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/4/45d0105980d5b1b849aa620a68943b57e92376f2.png)

### Reply 2 by Edward, 2018-05-30 (in reply to reply 1)

**TCP Mixed** test way is refer to below list.

1. Execute configuration tool and push to “search icon”.

2. Set to network and operation mode. (TCP Mixed)

3. After set done, push to “Setting icon” on the configuration tool.

4. Search again on configuration tool.
   [![config_TCPmixed](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/b/bb675957dc22cfd2fe9abcbaa69593c4e15f613c.png) config_TCPmixed903×750 51.6 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/b/bb675957dc22cfd2fe9abcbaa69593c4e15f613c.png)

5. Execute hercules program. (PC set TCP Server/Client)
  - TCP mixed mode can operate to TCP Client/Server mode
  - If you use WIZ750SR and TCP client mode, you must send to serial first

6. Set to users want tap and set IP and port.

7. If you connect to serial cable, you can do TCP tests. (refer to below image)

- TCP Server
  [![TCPServer](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/1/10f1cd5bea4e71add09d7adbacb744be78365522.png) TCPServer1243×544 22 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/1/10f1cd5bea4e71add09d7adbacb744be78365522.png)

- TCP Client
  [![TCPClient](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/4/45d0105980d5b1b849aa620a68943b57e92376f2.png) TCPClient1245×544 22 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/4/45d0105980d5b1b849aa620a68943b57e92376f2.png)

### Reply 3 by Edward, 2018-05-30

**UDP** test way is refer to below list.

1. Execute configuration tool and push to “search icon”.

2. Set to network and operation mode. (UDP)

3. After set done, push to “Setting icon” on the configuration tool.

4. Search again on configuration tool.
   [![config_UDP](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/5/59cc969d4046558deb43673546b758a2d87c1d9e.png) config_UDP898×751 51.6 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/5/59cc969d4046558deb43673546b758a2d87c1d9e.png)

5. Execute hercules program. (PC set UDP)

6. Set to users want tap and set IP and port.

7. Click to listen

8. If you connect to serial cable, you can do TCP tests. (refer to below image)

[![UDP](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/9/96ac54934db41b39bce31fffd3f19a2cbb5eef9b.png) UDP1243×545 21.2 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/9/96ac54934db41b39bce31fffd3f19a2cbb5eef9b.png)

---

Source: https://maker.wiznet.io/forum/12766
