Skip to content

Commit 9ef1c4f

Browse files
author
Marco Hoffmann
committed
Lowered Max_MSG
1 parent 0750b5c commit 9ef1c4f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NextClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ private void OnConnectionStatusChanged(SteamNetConnectionStatusChangedCallback_t
133133
}
134134
else if (param.m_info.m_eState == ESteamNetworkingConnectionState.k_ESteamNetworkingConnectionState_ClosedByPeer)
135135
{
136+
Debug.Log("Connection was closed by peer.");
136137
Disconnect();
137138
}
138139
else

NextCommon.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
public abstract class NextCommon
99
{
10-
protected const int MAX_MESSAGES = 1024;
10+
protected const int MAX_MESSAGES = 256;
1111

1212
protected EResult SendSocket(HSteamNetConnection conn, byte[] data, int channelId)
1313
{

0 commit comments

Comments
 (0)