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

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

Components

TypeNameDefaultDescription
Modelica_DeviceDrivers.Communication.TCPIPServertcpipserverModelica_DeviceDrivers.Communication.TCPIPServer(port, maxClients, useNonblockingMode)Device handle