troubleshooting Question

UDP buffer sizing on Windows

Avatar of gregoryyoung
gregoryyoungFlag for Canada asked on
Windows Networking
1 Comment1 Solution8747 ViewsLast Modified:
We receive large amounts of UDP multicast data ... our buffers seem to be too small as we lose a few packets quite often (most likely due to scheduling). How do I adjust the size of the OS level UDP receive buffers?

equivalent of ...

sysctl -w kern.ipc.maxsockbuf=xxxxx in BSD

In running a netstat I am seeing

UDP Statistics for IPv4

  Datagrams Received    = 66550148
  No Ports              = 64212
  Receive Errors        = 0
  Datagrams Sent        = 5810

So perhaps the buffer size is not a problem?


We are also seeing alot of packet address errors (any suggestions on progressing on this?)... netstat-s included

IPv4 Statistics

  Packets Received                   = 135416398
  Received Header Errors             = 0
  Received Address Errors            = 65752170
  Datagrams Forwarded                = 0
  Unknown Protocols Received         = 0
  Received Packets Discarded         = 0
  Received Packets Delivered         = 135416398
  Output Requests                    = 68335246
  Routing Discards                   = 0
  Discarded Output Packets           = 0
  Output Packet No Route             = 0
  Reassembly Required                = 0
  Reassembly Successful              = 0
  Reassembly Failures                = 0
  Datagrams Successfully Fragmented  = 0
  Datagrams Failing Fragmentation    = 0
  Fragments Created                  = 0
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros