blockTCPIPServerConfig
Configuration for TCP/IP server
Extends from Modelica_DeviceDrivers.Utilities.Icons.BaseIcon (Base icon for blocks providing access to external devices), Modelica_DeviceDrivers.Utilities.Icons.TCPIPconnection (Base icon for models of network connections).
Information
TCP/IP server configuration block. This block is supposed to be used as an inner (global) object. The TCP/IP receive and send blocks reference this configuration block as outer block.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | port | 10001 | The listening port of the server |
| Integer | maxClients | 1 | Maximum number of clients that can connect simultaneously |
| Advanced | |||
| Boolean | useNonblockingMode | true | =true, use non-blocking TCP/IP socket, otherwise receiving and sending will block |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_DeviceDrivers.Communication.TCPIPServer | tcpipserver | Modelica_DeviceDrivers.Communication.TCPIPServer(port, maxClients, useNonblockingMode) | Device handle |