Drop wireless packets if the link is too long

This commit is contained in:
2015-08-22 12:25:15 -07:00
parent 1bf394833d
commit 69f00f4a48
4 changed files with 43 additions and 0 deletions

View File

@@ -229,6 +229,9 @@ namespace EduNetworkBuilder
public static int PacketVersionNum = 2; //2 uses the new stuff. Anything else uses the old stuff
public const int GridSize = 10;
public static string[,] LanguageChoices = { { "English", "en" }, { "French", "fr" } };
public static int WirelessMaxUnsuccessfulLink = 120; //The link will connect, but the packet will drop
public static int WirelessMaxSuccessfulLink = 100; //Packets will drop after this distance
public static int WirelessReconnectDistance = 70; //Try to find a closer AP if we are this far out.
/// <summary>
/// Find the global random number generator.