Which is the Buffer Size of a TCP/IP socket (tcpclient)?

15 visualizaciones (últimos 30 días)
Beatrice Federici
Beatrice Federici el 16 de Jul. de 2022
Comentada: 柯汝 el 1 de Dic. de 2023
Hello MathWorks Community,
TCP/IP socket module does not allow to define Input and Output Buffer Size.
Which is the default value?
Is there a way to modify it?
Thank you.

Respuestas (1)

Kunal Kandhari
Kunal Kandhari el 8 de Nov. de 2022
In the Transition Your Code to tcpclient Interface doc page, it is mentioned that "Buffer sizes are automatically managed and sized as needed."
Since the buffer size is automatically sized and is dynamic in nature, it is not possible to set it manually.
I hope it solves your query!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by