Skip to content

Commit

Permalink
Added SteamNetworkingUtils.SendBufferSize
Browse files Browse the repository at this point in the history
  • Loading branch information
garrynewman committed Feb 28, 2020
1 parent 3a11b6f commit 23129f3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Facepunch.Steamworks/SteamNetworkingUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,17 @@ public static int Timeout
set => SetConfigInt( NetConfig.TimeoutConnected, value );
}

/// <summary>
/// Upper limit of buffered pending bytes to be sent.
/// If this is reached SendMessage will return LimitExceeded.
/// Default is 524288 bytes (512k)
/// </summary>
public static int SendBufferSize
{
get => GetConfigInt( NetConfig.SendBufferSize );
set => SetConfigInt( NetConfig.SendBufferSize, value );
}


/// <summary>
/// Get Debug Information via OnDebugOutput event
Expand Down

0 comments on commit 23129f3

Please sign in to comment.