.Modelica_DeviceDrivers.Communication.UDPSocket.constructor

Information

Creates a UDPSocket instance with a given listening port.

Interface

encapsulated function constructor
  import Modelica;
  extends Modelica.Icons.Function;
  import Modelica_DeviceDrivers.Communication.UDPSocket;
  input Integer port "0 if a sending socket, otherwise the number of the listening port";
  input Integer bufferSize = 16*1024 "Size of receive buffer, can be safely set to 0 for a sending socket";
  input Boolean useRecvThread = true "true, dedicated receiving thread writes datagrams into shared buffer";
  output UDPSocket socket;
end constructor;

Generated at 2024-05-19T18:15:52Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos