StrToHostAddr6

Convert a string to a IPV6 host address.

Declaration

Source position: socketsh.inc line 208

  function StrToHostAddr6(IP: AnsiString) : Tin6_addr;

Description

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

Errors

On error, the address is filled with zeroes.

See also

Name Description
HostAddrToStr6 Convert a IPV6 host address to a string representation.
NetAddrToStr6 Convert a IPV6 network address to a string.
StrToHostAddr Convert a string to a host address.