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
SysSockCreateUdp
RTS_IEC_HANDLE
Handle to the UDP socket
Input
diSendPort
DINT
Port number to send (host byte order)
diRecvPort
DINT
Port number to receive (host byte order)
pResult
POINTER TO RTS_IEC_RESULT
Pointer to runtime system error code (see CmpErrors.library)