We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Windows 7  Professional UDP Buffer Size

Medium Priority
3,007 Views
Last Modified: 2016-03-02
On a Lenovo ThinkPad with Windows 7  Professional, I send and receive UDP packets with Matlab using a program called judp.m that I downloaded here: http://www.mathworks.com/matlabcentral/fileexchange/24525-a-simple-udp-communications-application.

My current application receives about 400 packets per second, each about 45Kbytes, from another server on the same LAN. Each packet has a unique index. About 1 to 2 percent of the packets are dropping; I can tell by looking at the packet index. I suspect that my UDP receive buffer is too small.

Two questions:

First, how can I tell my UDP buffer size?

Second, how can I increase it to 65535?

Thanks
Comment
Watch Question

Author

Commented:
I need a Windows or Matlab solution, not a C solution. Thank you.
I suggest contacting either Microsoft or Metlab Support. I am unaware of any way to do this without using Windows CE 5.0 and I have not seen any documentation on commands to change this.

If you are trying to increase the size of the packets you can adjust the MTU, however this is limited at other points in the network.
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.