Listener.Listen (METH) ¶ METHOD Listen : ERROR This method may be called at any time after start. The new Streams are appended to the already listening streams. InOut: Scope Name Type Return Listen ERROR
Listener.Port (PROP) ¶ PROPERTY Port : UINT Port on which the listener shall listen.
Listener.Start (METH) ¶ METHOD Start : ERROR Binds the listening socket and starts listening on it. InOut: Scope Name Type Comment Input sIPAddress STRING IP address of the network adapter to listen to uiPort UINT Port to listen to Return Start ERROR
Listener.Socket (PROP) ¶ PROPERTY Socket : RTS_IEC_HANDLE
Listener.Stop (METH) ¶ METHOD Stop : ERROR Stops listening on the port InOut: Scope Name Type Return Stop ERROR
Select (FB) ¶ FUNCTION_BLOCK Select Encapsulates SysSockSelect Methods: Check CheckError CheckReceive CheckSend Structure: Check (Method) CheckError (Method) CheckReceive (Method) CheckSend (Method)
Select.Check (METH) ¶ METHOD Check : ERROR InOut: Scope Name Type Comment Input iTimeOut INT Time out in micro seconds Inout strRecvSet SysSocket.SOCKET_FD_SET List of streams to be checked for receive. Only streams which are ready for reception will remain in this list. strSendSet SysSocket.SOCKET_FD_SET List of streams to be checked for send. Only streams which are ready for sending will remain in this list. strErrorSet SysSocket.SOCKET_FD_SET List of streams to be checked for errors. Only streams which are having an error will remain in this list. Return Check ERROR Output diReady DINT
Select.CheckError (METH) ¶ METHOD CheckError : ERROR InOut: Scope Name Type Comment Input iTimeOut INT Time out in micro seconds; -1 is for infinite time out. Inout socketFD_SET SysSocket.SOCKET_FD_SET List of streams to be checked for errors. Only streams which are having an error will remain in this list. Return CheckError ERROR Output diReady DINT
Select.CheckReceive (METH) ¶ METHOD CheckReceive : ERROR InOut: Scope Name Type Comment Input iTimeOut INT Time out in micro seconds; -1 is for infinite time out. Inout socketFD_SET SysSocket.SOCKET_FD_SET List of streams to be checked for receive. Only streams which are ready for reception will remain in this list. Return CheckReceive ERROR Output diReady DINT
Select.CheckSend (METH) ¶ METHOD CheckSend : ERROR InOut: Scope Name Type Comment Input iTimeOut INT Time out in micro seconds; -1 is for infinite time out. Inout socketFD_SET SysSocket.SOCKET_FD_SET List of streams to be checked for send. Only streams which are ready for sending will remain in this list. Return CheckSend ERROR Output diReady DINT