StrToHostAddr

Convert a string to a host address.

Declaration

Source position: socketsh.inc line 193

  function StrToHostAddr(IP: AnsiString) : in_addr;

Description

StrToHostAddr converts the string representation in IP to a host address and returns the host address.

Errors

On error, the host address is filled with zeroes.

See also

Name Description
HostAddrToStr Convert a host address to a string.
NetAddrToStr Convert a network address to a string.
StrToNetAddr Convert a string to a network address.