Host ParseHosts Method Aerospike
Parse hosts from string format: hostname1[:tlsname1][:port1],...

Hostname may also be an IP address in the following formats.

  • IPv4: xxx.xxx.xxx.xxx
  • IPv6: [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]
  • IPv6: [xxxx::xxxx]

IPv6 addresses must be enclosed by brackets. tlsname and port are optional.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.4.0 (3.9.4)
Syntax

Parameters

str
Type: System String
defaultTlsName
Type: System String
defaultPort
Type: System Int32
See Also