SysSockRecvFromUdp2 (FUN)ΒΆ
FUNCTION SysSockRecvFromUdp2 : __XINT
Receive a paket from a UDP socket.
- InOut:
Scope
Name
Type
Comment
Return
SysSockRecvFromUdp2
__XINT
Number of bytes received
Input
hSocketUdp
RTS_IEC_HANDLE
Handle to the UDP socket
pbyData
POINTER TO BYTE
Pointer to data to receive
diDataSize
__XINT
Size of data to receive
pReply
POINTER TO UDP_REPLY2
Description of the client that has sent this paket
pResult
POINTER TO RTS_IEC_RESULT
Pointer to runtime system error code (see CmpErrors.library)