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
ReceiveSysTypes.RTS_IEC_RESULTInput
pbyDataPOINTER TO BYTE
Pointer to receive buffer
diDataSize__XINTSize of the receive buffer
Output
udiIPFromUDINTIP Address of the sender
uiPortFromUINTDestination Port
diRecvSize__XINTSize of the received data
eLogCodeErrorCode