SysSockRecvFromUdp2 (FUN)
FUNCTION SysSockRecvFromUdp2 : __XINT
Receive a paket from a UDP socket.
- InOut:
Scope
Name
Type
Comment
Return
SysSockRecvFromUdp2__XINTNumber of bytes received
Input
hSocketUdpRTS_IEC_HANDLEHandle to the UDP socket
pbyDataPOINTER TO BYTE
Pointer to data to receive
diDataSize__XINTSize of data to receive
pReplyPOINTER TO UDP_REPLY2
Description of the client that has sent this paket
pResultPOINTER TO RTS_IEC_RESULT
Pointer to runtime system error code (see CmpErrors.library)