SysSockGetHostName (FUN)ΒΆ
FUNCTION SysSockGetHostName : RTS_IEC_RESULT
Get host name of the target.
- InOut:
Scope
Name
Type
Comment
Return
SysSockGetHostName
RTS_IEC_RESULT
Runtime system error code (see CmpErrors.library).
Input
szHostName
REFERENCE TO STRING
Reference to get host name
diNameLen
DINT
Maximum length of hostname