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