Stream.Create (METH) ¶ METHOD Create : ERROR Creates a new Stream. InOut: Scope Name Type Return Create ERROR Input hSocket SysTypes.RTS_IEC_HANDLE
Stream.FdIsSet (METH) ¶ METHOD FdIsSet : BOOL Returns TRUE if the stream’s socket is part of the file descriptor set InOut: Scope Name Type Return FdIsSet BOOL Input socketFD_SET SysSocket.SOCKET_FD_SET
Stream.FdSet (METH) ¶ METHOD FdSet Adds the stream’s socket to the file descriptor set InOut: Scope Name Type Inout socketFD_SET SysSocket.SOCKET_FD_SET
Stream.GetOption (METH) ¶ METHOD GetOption : ERROR Get a certain option from the socket InOut: Scope Name Type Comment Input diOption DINT requested option Return GetOption ERROR Output diValue DINT Value of the requested option
Stream.IoControl (METH) ¶ METHOD IoControl : ERROR Call an IoCtl on the stream InOut: Scope Name Type Comment Input diCommand DINT IoCtl command to be executed Inout diParameter DINT Parameter of the command Return IoControl ERROR
Properties ¶ IPAddress (Property) Socket (Property) State (Property)
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