Project: TCP-UDP.

Communication software for PC, tablets and phones with Windows 8.1 and higher.

Introduction

'TCP-UDP' is an application for testing the network communication. Use technicians for sending test messages and tracking. Working in the function of a client or server TCP or UDP transport layer. The message you enter in text or hexadecimal format. Is not applied any higher communication protocol. The Assembly has full responsibility of the user. It requires knowledge of the communication protocol being tested! The use of an application is directed mainly to the field of industrial automation.. Its generality, however, provides a wider use. The application of can also find eg. in the field of IoT, i.e., the Internet of things, etc.

For its work the application uses to connect to the local network and to the Internet.

Store - download

Store   Windows 8.1, Windows 10

Store   Windows Phone 8.1, Windows Mobile 10



TCP-UDP SW for Win 8.1, Win Phone 8.1 and earlier.



Application desktop

The desktop of application is divided into two parts. In the left bar menu is located. In the right part of the functions and custom desktop, where it displays the content as was among the features.

The menu features :

  • Settings - entry point of the application. Go to the screen for setting the parameters of the communication. Here also opens and closes the communication line.
  • Terminal - main work screen. Go to the screen where you enter and send messages.
  • Statistics - go to the screen to display the statistics of received and sent messages.
  • Network info - go to the screen to display the current parameters of the communications network.
  • Help - go to the screen with help, which you are reading now.
  • About - goes to a screen with information about the application.

Under the menu functions displays the message Status. The result is shown here the last activity.
Message is colored. Green - the activity has been carried out correctly, the Red - completed with error, Yellow - warning or information message.

Settings

The entry point of the application. The screen is used to set the parameters of the communication and at the same time for the opening and closing lines of communication.

Settings - transport layer

First select the type of transport: UDP, TCP client or TCP server. Under this option exposes another contract field.

Settings - communication line

Remote IP address or domain name, enter the IP address or network name of the station, to which is appended as a client.

Remote port or service name, enter the numeric value or a naming service port to which it is appended. The number will be in the range of 1 to 65535, and the name will be according to the definition of the IANA (http://www.iana.org). In Windows, the list is in the file "C:\Windows\System32\drivers\etc\services".
Example: instead of a number port "80" I can specify "http"

The local port or service name, enter here a similar value as the "remote port or service name", but indicates the value that our device - server accepts a connection from another device.

Bind to address or adapter. If we have multiple network interfaces on the device-adapter, we can filter incoming connections on a specific adapter. As well as in the case of multiple IP addresses of our equipment. Then we must, from the list, select one of the specific. If we do not filter the incoming connection, and then select Bind to any address and any adapter.

By pressing the Connect or Close, we open / closing communication line (socket) for connection to a remote device - server. Our equipment works in function of the client.

By pressing the Listen or Close, we open / closing communication line (socket) for receiving connection from another device. Our equipment works in function of the server.

Notes:

  • For the UDP type you can choose, whether you will also listen on another, fixed, port.
  • Modern UI application does not, by default, a connection to another Modern UI application, on the same device. Does not use "localhost".
  • In the case of turning off Wifi and other wireless devices, and at the same time pulling the network cable to the LAN, you may experience a condition where we do not have any available network interface adapter.
  • All network communication is subject to the rules set in the Firewall!
Settings - Other

The format of the displayed data, set up a way to view sent and received messages on the screen, the "Terminal".

  • ASCII - printable characters for the display.
  • Hex - for hexadecimal view (separated by spaces).
  • Dump - for hexadecimal and ASCII display in two columns.
  • Mix - for the combined view (printable characters are in ASCII and other hexa).

A new report on a new line - after marking this option, each message is displayed on a separate line.

Wrap - after marking this option, messages are longer than the width of the screen, appears on multiple lines. Otherwise, the long message displayed using the scroll bars.

Language - for the choice between English and Czech.

Terminal

The main work screen. Is used for specifying the message being sent, send it and to display the Inbox.

The received message - to view received messages. The display format is specified using the Format of data displayed on the screen "Settings".

Sent messages - to view the messages sent. The display format is specified using the Format of data displayed on the screen "Settings".

Under the "sent messages", is a tender element to create the message to send. To the right is the button Send, to send to the open network communication (see the page "Settings").

The format of the sent data, sets the way characters are interpreted in the previous award of the element.

  • ASCII - the message is sent as specified.
  • Hex - the message is interpreted as a sequence of hexadecimal bytes specified, separated by spaces.
    Example: 10 7B FE 79 16 (from attractions, this report corresponds to the General data requests, all stations on the industrial bus M-Bus)
  • Mix - the message is interpreted as the combined. Printable characters are in ASCII and other hexa, bytes, with a prefix of '\'.
    Example: GET / HTTP/1.1\0D\0A\0D\0A (from attractions, this report corresponds to the request on the main page of the Web site)

Delete button will delete all the "received message" and all the "sent messages".
To delete will also automatically, when some of the fields exceeds the length of the 40960 characters.

Button Last messages triggers the transition on the screen, "The last messages".

The last messages

The screen with the last ten messages sent.

On this screen, you cannot edit messages, is only used to remember your outgoing messages and their selection again for the departure. The message is also remembered i "Format of outgoing data".

Button Pick before each message is used to select this particular message. This sets the input control for the dispatch, "Terminal" on the screen. At the same time it also sets the "outgoing data Format".
"Last message" screen closes and goes back to the screen "Terminal".

Button Back without selection triggers the transition back to the screen "Terminal", without selecting a specific message. The tender documents for the submission element does not change.

Statistics

View the statistics of the number of communication messages without error or mistake. The number of characters in the last message, or the total sum. Counters are grouped separately for received and sent messages. The counter can be reset by pressing the "Reset".

Network info

Screen to display the current parameters of the communications network.

The most important are the first two items, is connected to the LAN and is connected to the Internet.
Tell us about the current communication capabilities.

Other information are only supplemental, for the interestingness.

Help

Displays the help information, which you are reading now.

About

Displays program information, link to the Web page of the project or link to a Web page with the principles of personal data protection.

Examples of the use of