SysSockGetHostNameΒΆ
This function of type BOOL calls the function gethostnameof the operating system and returns the host name.
In case of successful operation the function will return TRUE, otherwise FALSE.
| Variable | Data type | Description |
|---|---|---|
| stHostName | STRING | Host name (corresponding parameter e.g. in Win32: name) |
| diNameLength | DINT | Length of the host name (corresponding parameter e.g. in Win32: buflen) |