SysSockGetHostByName (FUN)ΒΆ

FUNCTION SysSockGetHostByName : RTS_IEC_RESULT

Get host description specified by host name.
InOut:

Scope

Name

Type

Comment

Return

SysSockGetHostByName

RTS_IEC_RESULT

Runtime system error code (see CmpErrors.library).

Input

szHostName

REFERENCE TO STRING

Reference to host name

pHost

POINTER TO SOCK_HOSTENT

Pointer to host description