functiongetReceivedBytes
DEPRECATED. Get number of received bytes
Extends from Modelica.Icons.Function (Icon for functions), Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).
Information
Deprecated function. Don't use it.
Kept for backward compatibility. Only very limited use since due to thread parallelism (the listening UDP socket is run in a dedicated thread) the returned value may already be outdated when it is returned or when a later conditional action is based on the returned value.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| UDPSocket | socket |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | receivedBytes | number of Bytes received |