- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- File List
- File Members

# ReliabilityLayer.cpp File Reference

`#include "ReliabilityLayer.h"`
`#include "GetTime.h"`
`#include "SocketLayer.h"`
`#include "PluginInterface.h"`
`#include "RakAssert.h"`
`#include "Rand.h"`
`#include "PacketEnumerations.h"`
`#include <stdlib.h>`

## Functions
int | SplitPacketChannelComp (SplitPacketIdType const &key, SplitPacketChannel *const &data)
int | SplitPacketIndexComp (SplitPacketIndexType const &key, InternalPacket *const &data)
## Variables
static const int | DEFAULT_HAS_RECEIVED_PACKET_QUEUE_SIZE = 512
static const float | PACKETLOSS_TOLERANCE = .02f
static const double | MINIMUM_SEND_BPS = 14400.0
static const double | STARTING_SEND_BPS = 28800.0
static const float | PING_MULTIPLIER_TO_RESEND = 3.0
static const RakNetTime | MIN_PING_TO_RESEND = 30
static const RakNetTimeNS | TIME_TO_NEW_SAMPLE = 500000
static const RakNetTimeNS | MAX_TIME_TO_SAMPLE = 250000

## Detailed Description

This file is part of RakNet Copyright 2003 Kevin Jenkins.

Usage of RakNet is subject to the appropriate license agreement. Creative Commons Licensees are subject to the license found at http://creativecommons.org/licenses/by-nc/2.5/ Single application licensees are subject to the license found at http://www.rakkarsoft.com/SingleApplicationLicense.html Custom license users are subject to the terms therein. GPL license users are subject to the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.