This commit is contained in:
David Rowe 2021-08-21 21:11:42 +12:00
parent ace612d038
commit 1605039929
3 changed files with 3 additions and 2 deletions

View file

@ -3,6 +3,7 @@
// libraries/networking/src
//
// Copyright 2017 High Fidelity, Inc.
// Copyright 2021 Vircadia contributors.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html

View file

@ -117,7 +117,7 @@ void NetworkPeer::setActiveSocket(SockAddr* discoveredSocket) {
// we have an active socket, stop our ping timer
stopPingTimer();
// we're now considered connected to this peer - reset the number of connection attemps
// we're now considered connected to this peer - reset the number of connection attempts
resetConnectionAttempts();
if (_activeSocket) {

View file

@ -120,7 +120,7 @@ public:
#if defined(WEBRTC_DATA_CHANNELS)
/// @brief @brief Gets a pointer to the WebRTC socket object.
/// @brief Gets a pointer to the WebRTC socket object.
/// @return A pointer to the WebRTC socket object.
const WebRTCSocket* getWebRTCSocket();
#endif