Download Chat_NBS_Example.project
The sample project consists of a server application and a client application with a visualization for each.
A client application communicates over the server application with another client application via TCP (Port 50000).
The connection can be made either encrypted or unencrypted.
An unencrypted connection can be established by deactivating the 'Encrypted' switch.
For the client and server application, the IP address of the server has to be specified in the 'IP Address' field.
An encrypted connection can be established by activating the 'Encrypted' switch.
In this case, the server has to have stored the client certificates as trusted certificates.
The client applications each have to have stored the server certificate as trusted certificates.
cert-genselfsigned
TCP_Client
and TCP_Server
programs, the info
variable has to be set to the name (CN) of the specified certificate.The 'Go Online' button can be used to activate the server and establish a connection from the clients to the server.
System requirements and restrictions | Info |
---|---|
Programming System | CODESYS Development System Version 3.5.16.10 or higher |
Runtime System | CODESYS Control Version 3.5.16.10 |
Required Accessories | - |