Reads OutOfBand data stored in the receive buffer of the client specified by its source IP and port.
Reads OutOfBand data stored in the receive buffer of the client specified by its source IP and port and removes it from there if it has been read without detecting an error.
The UDINT return value indicates the number of bytes written to the application-provided buffer.
For additional information about the receive methods, refer to section Receive Method.
Input |
Data type |
Valid range |
Description |
---|---|---|---|
i_sClientIP |
STRING(15) |
- |
IP address of the connected client the data is to be read from. |
i_uiClientPort |
UINT |
1 ... 65535 |
Source port of the connected client the data is to be read from. |
i_pbyReceiveBuffer |
POINTER TO BYTE |
- |
Start address of the buffer to write the received data to. |
i_udiReceiveBufferSize |
UDINT |
1 ... 2147483647 |
Number of bytes to be read.
NOTE: The value must not be greater than the size of the buffer.
|
In_Out |
Data type |
Valid range |
Description |
---|---|---|---|
iq_udiFillLevel |
UDINT |
1 ... 2147483647 |
Indicates the fill level of the buffer. Before function call: Data will be written starting at this offset. After the function call: Updated by adding the number of written bytes to the original value. |