Skip to content

StrToNetAddr6

Convert a string to a IPV6 network address

Declaration

Source position: socketsh.inc line 210

  function StrToNetAddr6(IP: AnsiString) : Tin6_addr;

Description

StrToNetAddr6 converts the string representation in IP to a IPV6 network address and returns the network 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.
StrToHostAddr6 Convert a string to a IPV6 host address.