Stream.Receive (METH) ¶ METHOD Receive : ERROR Receive data from the stream InOut: Scope Name Type Comment Input pbyBuffer POINTER TO BYTE Memory location where the received data shall be copied to diBufferSize __XINT Size of available memory Return Receive ERROR Output diReceived __XINT Size of received data
Stream.Reset (METH) ¶ METHOD PUBLIC Reset
Stream.Send (METH) ¶ METHOD Send : ERROR InOut: Scope Name Type Comment Input pbyBuffer POINTER TO BYTE Memory location of the data to be sent diBufferSize __XINT Size of memory Return Send ERROR Output diSent __XINT Size of sent data.
Stream.SetOption (METH) ¶ METHOD SetOption : ERROR Sets an option on the socket InOut: Scope Name Type Comment Return SetOption ERROR Input diOption DINT Socket option diValue DINT Value to be set on this option
Functions ¶ UDINT_TO_IPSTRING (Function)
UDINT_TO_IPSTRING (FUN) ¶ FUNCTION UDINT_TO_IPSTRING : STRING Converts an udint value to a readable ip address string InOut: Scope Name Type Return UDINT_TO_IPSTRING STRING Input udiIPAddress UDINT
GlobalConstants ¶ Constants (GVL)
Constants (GVL) ¶ {attribute ‘conditionalshow’ := ‘3SLib_Developer’} {attribute ‘hide’} Attributes: qualified_only InOut: Scope Name Type Initial Constant gc_diBacklog DINT 64
Structs ¶ SockAddr (Struct)
SockAddr (STRUCT) ¶ TYPE SockAddr : STRUCT InOut: Name Type sin_family INT sin_port UINT sin_addr UDINT sin_zero ARRAY [0..7] OF BYTE