Skip to content

Commit

Permalink
Lowered Max_MSG
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Hoffmann committed May 3, 2021
1 parent 0750b5c commit 9ef1c4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NextClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ private void OnConnectionStatusChanged(SteamNetConnectionStatusChangedCallback_t
}
else if (param.m_info.m_eState == ESteamNetworkingConnectionState.k_ESteamNetworkingConnectionState_ClosedByPeer)
{
Debug.Log("Connection was closed by peer.");
Disconnect();
}
else
Expand Down
2 changes: 1 addition & 1 deletion NextCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

public abstract class NextCommon
{
protected const int MAX_MESSAGES = 1024;
protected const int MAX_MESSAGES = 256;

protected EResult SendSocket(HSteamNetConnection conn, byte[] data, int channelId)
{
Expand Down

0 comments on commit 9ef1c4f

Please sign in to comment.