functionconstructor
Creates a TCP/IP socket server instance.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | port | The listening port of the server | |
| Integer | maxClients | 1 | Maximum number of clients that can connect simultaneously |
| Boolean | useNonblockingMode | true | =true, use non-blocking TCP/IP socket, otherwise receiving and sending will block |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| TCPIPServer | tcpipserver |