functionconstructor

Creates a TCP/IP socket server instance.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
IntegerportThe listening port of the server
IntegermaxClients1Maximum number of clients that can connect simultaneously
BooleanuseNonblockingModetrue=true, use non-blocking TCP/IP socket, otherwise receiving and sending will block

Outputs

TypeNameDefaultDescription
TCPIPServertcpipserver