functionsend
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_DeviceDrivers.Communication.TCPIPServer | tcpipserver | ||
| Integer | clientIndex | Index of the TCP/IP client | |
| Integer | dataSize | Size of data to be sent in byte | |
| String | data | Data that should be sent |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | dataSent | On success, return the number of bytes sent, 0 if operation would block, -1 on non-fatal error |