Port.Receive (METH)ΒΆ
METHOD Receive : SysTypes.RTS_IEC_RESULT
Tries to receive data from a socket; returns ERR_PENDING if there is no data to receive
- InOut:
- Scope - Name - Type - Comment - Return - Receive- SysTypes.RTS_IEC_RESULT- Input - pbyData- POINTER TO BYTE - Pointer to receive buffer - diDataSize- __XINT- Size of the receive buffer - Output - udiIPFrom- UDINT- IP Address of the sender - uiPortFrom- UINT- Destination Port - diRecvSize- __XINT- Size of the received data - eLogCode- ErrorCode