SysSockGetOption (FUN)
FUNCTION SysSockGetOption : RTS_IEC_RESULT
Set options of a specified socket.
- InOut:
Scope
Name
Type
Comment
Return
SysSockGetOptionRTS_IEC_RESULTRuntime system error code (see CmpErrors.library).
Input
hSocketRTS_IEC_HANDLEHandle to the socket
diLevelDINTLevel of the socket
diOptionDINTSocket option command
pdiOptionValuePOINTER TO DINT
Pointer to the option value
pdiOptionLenPOINTER TO DINT
Lenght of option value