SysSockGetHostName (FUN)
FUNCTION SysSockGetHostName : RTS_IEC_RESULT
Get host name of the target.
- InOut:
Scope
Name
Type
Comment
Return
SysSockGetHostNameRTS_IEC_RESULTRuntime system error code (see CmpErrors.library).
Input
szHostNameREFERENCE TO STRING
Reference to get host name
diNameLenDINTMaximum length of hostname