functionreadPTCPIPServer
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_DeviceDrivers.Communication.TCPIPServer | tcpipserver | ||
| Modelica_DeviceDrivers.Packaging.SerialPackager | pkg | ||
| Integer | clientIndex | Index of the TCP/IP client | |
| Integer | recvbuflen | Size of receive buffer | |
| Real | dummy |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | dummy2 | ||
| Integer | nRecvBytes | Number of received bytes. If 0 it means that no new data is available. |