Advertisement

08.15.2007 at 01:52PM PDT, ID: 22765406
[x]
Attachment Details

UDP buffer sizing on Windows

Asked by gregoryyoung in Windows Networking

Tags: udp, windows, buffer

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                  = 0Start Free Trial
[+][-]08.16.2007 at 04:22AM PDT, ID: 19706912

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Windows Networking
Tags: udp, windows, buffer
Sign Up Now!
Solution Provided By: uetian1707
Participating Experts: 1
Solution Grade: B
 
 
[+][-]09.08.2007 at 08:43PM PDT, ID: 19855467

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628