-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::Peer::GetPeerSessionID
Karel Donk edited this page Dec 13, 2019
·
1 revision
Gets the peer session ID. This is a cryptographic ID which is unique for every connection.
Result<UInt64> GetPeerSessionID() const noexcept;
Returns a QuantumGate::Result
containing, upon successful completion, the peer session ID of the peer.
The QuantumGate::Result
object will equal one of the following QuantumGate::ResultCode
s:
Value | Description |
---|---|
QuantumGate::ResultCode::Succeeded |
The operation succeeded. |
QuantumGate::ResultCode::PeerNotReady |
The operation failed because the peer wasn't ready. The connection to the peer may still be in the process of being established or may have been disconnected. |