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.
First, how can I tell my UDP buffer size?
Second, how can I increase it to 65535?