function sendToUDP extends Modelica.Icons.Function; input Modelica_DeviceDrivers.Communication.UDPSocket socket; input String ipAddress "IP address where data has to be sent"; input Real port "Port number where data has to be sent"; input Modelica_DeviceDrivers.Packaging.SerialPackager pkg; input Integer dataSize "Size of data"; input Real dummy; output Real dummy2; end sendToUDP;