SysSockGetRecvSizeUdp (FUN)ΒΆ
FUNCTION SysSockGetRecvSizeUdp : __XINT
Check actual received data on the UDP socket.
- InOut:
Scope
Name
Type
Comment
Return
SysSockGetRecvSizeUdp
__XINT
Number of bytes actual available in the socket
Input
hSocketUdp
RTS_IEC_HANDLE
Handle to the UDP socket
diTimeout
DINT
Timeout to wait for received data.
-1 = Infinite wait
0 = no wait
pResult
POINTER TO RTS_IEC_RESULT
Pointer to runtime system error code (see CmpErrors.library)