Unit 'Sockets' Package
[Overview][Constants][Types][Procedures and functions][Index] [#rtl]

TryStrToHostAddr6

Try to convert a string to an IPV6 address.

Declaration

Source position: socketsh.inc line 214

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

StrToHostAddr6

  

Convert a string to a IPV6 host address.

TryStrToHostAddr

  

Try to convert a string to an IPV4 address.


Documentation generated on: Jul 24 2023