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

Bigger rx buffer for OscServer #38

Open
zacksettel opened this issue Nov 4, 2022 · 1 comment
Open

Bigger rx buffer for OscServer #38

zacksettel opened this issue Nov 4, 2022 · 1 comment
Assignees

Comments

@zacksettel
Copy link

zacksettel commented Nov 4, 2022

When receiving large JsonStrings the buffer defined in OscServer.ServerLoop() overuns.

In my forked branch, I have need to adjust the buffer size from 4096 to 32767, in order to accommodate larger json strings.

Is there a way this buffer size could be increased dynamically by the user, depending on use-case?

Or perhaps it could simply be increased in the code, without incident?

@keijiro keijiro self-assigned this Nov 4, 2022
@keijiro
Copy link
Owner

keijiro commented Nov 4, 2022

There isn't any way to extend the buffer size at the moment. I'll improve it in a future version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants