functionsend

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

Inputs

TypeNameDefaultDescription
Modelica_DeviceDrivers.Communication.TCPIPServertcpipserver
IntegerclientIndexIndex of the TCP/IP client
IntegerdataSizeSize of data to be sent in byte
StringdataData that should be sent

Outputs

TypeNameDefaultDescription
IntegerdataSentOn success, return the number of bytes sent, 0 if operation would block, -1 on non-fatal error