HostParseServiceHosts Method

Parse server service hosts from string format: hostname1: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.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static List<Host> ParseServiceHosts(
	string str
)

Parameters

str  String
 

Return Value

ListHost

See Also