Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Losing packets randomly k_EResultLimitExceeded #579

Open
Nervniyak opened this issue Oct 8, 2023 · 1 comment
Open

Losing packets randomly k_EResultLimitExceeded #579

Nervniyak opened this issue Oct 8, 2023 · 1 comment

Comments

@Nervniyak
Copy link

I am using Riptide and steam transport for it that wraps around Steamworks.NET.

And when I send a bunch of packets some of them never arrive because of k_EResultLimitExceeded reason.

Riptide uses this function from Steamworks.NET
EResult SendMessageToConnection(HSteamNetConnection hConn, IntPtr pData, uint cbData, int nSendFlags, out long pOutMessageNumber)

No matter if I use k_nSteamNetworkingSend_Unreliable or k_nSteamNetworkingSend_Reliable flag I get this error.

Info in Google is very limited, but someone mentioned that there's hard limit in Steamworks of somewhere around 125000 to 200000 bytes per second.

What is this limit? How to avoid or circumvent it? I am currently sending 700 packets with rate of 95000 bytes per second.

@Nervniyak
Copy link
Author

Is there receive buffer on client?

@Nervniyak Nervniyak changed the title k_EResultLimitExceeded why? Losing packets randomly k_EResultLimitExceeded Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant