Skip to content

TryStrToHostAddr6

Try to convert a string to an IPV6 address.

Declaration

Source position: socketsh.inc line 223

function TryStrToHostAddr6(IP: AnsiString; out ip6: in6_addr) : Boolean;

Description

TryStrToHostAddr attempts to convert IP to an IPV6 address. If successful it returns the address in ip6 and returns True. If unsuccessful it returns False.

See also

Name Description
StrToHostAddr6 Convert a string to a IPV6 host address.
TryStrToHostAddr Try to convert a string to an IPV4 address.