SysSockGetOption (FUN)ΒΆ
FUNCTION SysSockGetOption : RTS_IEC_RESULT
Set options of a specified socket.
- InOut:
Scope
Name
Type
Comment
Return
SysSockGetOption
RTS_IEC_RESULT
Runtime system error code (see CmpErrors.library).
Input
hSocket
RTS_IEC_HANDLE
Handle to the socket
diLevel
DINT
Level of the socket
diOption
DINT
Socket option command
pdiOptionValue
POINTER TO DINT
Pointer to the option value
pdiOptionLen
POINTER TO DINT
Lenght of option value