SysSockCreateUdp (FUN)
FUNCTION SysSockCreateUdp : RTS_IEC_HANDLE
Higher level function, to create a complete UDP socket.
The socket will make use of the user data protocol UDP.
- InOut:
Scope
Name
Type
Comment
Return
SysSockCreateUdpRTS_IEC_HANDLEHandle to the UDP socket
Input
diSendPortDINTPort number to send (host byte order)
diRecvPortDINTPort number to receive (host byte order)
pResultPOINTER TO RTS_IEC_RESULT
Pointer to runtime system error code (see CmpErrors.library)