diff options
Diffstat (limited to 'source/game/StarUniverseConnection.hpp')
-rw-r--r-- | source/game/StarUniverseConnection.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/game/StarUniverseConnection.hpp b/source/game/StarUniverseConnection.hpp index 666e2da..ed08104 100644 --- a/source/game/StarUniverseConnection.hpp +++ b/source/game/StarUniverseConnection.hpp @@ -48,7 +48,8 @@ public: // false if the timeout was reached with no packets receivable. bool receiveAny(unsigned timeout); - void setLegacy(bool legacy); + // Returns a reference to the packet socket. + PacketSocket& packetSocket(); // Packet stats for the most recent one second window of activity incoming // and outgoing. Will only return valid stats if the underlying PacketSocket |