MATLAB Linux tcpip buffer overflow
8 views (last 30 days)
Show older comments
Hello,
I write a client in MATLAB based on tcpip object witch connect to a 3rf party server based on socket. all run on Windows and Linux.
- On Windows, internal buffer seem very big or infinite. The standard TCP/IP ACK is receive correctly. The basic/standard tcp/ip mecanisme work well
- On Linux, internal buffer seem to be 64 Ko. and ACK is sended anyway if the buffer is saturated so i can flood it quicly !!!
Can someone tell me how to increase this buffer size ? It's a Java parameters ?
Thanks to help
0 Comments
Answers (1)
Jason Ross
on 5 Oct 2011
Google around for your Linux distribution as to how to increase TCP/IP buffer size. It's likely configured in a file in /etc, and you'll likely need root permission to do it.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!