Skip to content

QuantumGate::Address

Karel Donk edited this page Dec 25, 2021 · 3 revisions

QuantumGate::Address is a class that represents a network address. Every peer on the QuantumGate network has an address that can be used to connect to them.

Member functions

Name Description
Constructor Constructs an Address object.
operator= Assigns a value from another Address.
GetType Returns the the address type.
GetFamily Returns the address family.
GetIPAddress Returns a reference to the contained IP address.
GetBTHAddress Returns a reference to the contained Bluetooth address.
GetString Returns the address in string format.
GetHash Returns a hash of the address.
TryParse Attempts to parse an address from a string.
operator==, operator!= Compares the Address to another.
operator<< Outputs the Address to the stream.
Clone this wiki locally