SysSockCloseUdp (FUN)ΒΆ

FUNCTION SysSockCloseUdp : RTS_IEC_RESULT

Close a UDP socket. Handle must be retrieved by SysSockCreateUdp !
This function calls the function closesocket of the operating system to close a socket working with the user datagram protocol UDP.
InOut:

Scope

Name

Type

Comment

Return

SysSockCloseUdp

RTS_IEC_RESULT

Runtime system error code (see CmpErrors.library).

Input

hSocketUdp

RTS_IEC_HANDLE

Handle to the UDP socket. Must be opened with SysSockCreateUdp !