Windows: enable circular buffer management for rx socket input
[openafs.git] / src / rx / rx_xmit_nt.c
index 3d2d7b5..ba1e8b0 100644 (file)
@@ -96,6 +96,13 @@ rxi_xmit_init(osi_socket s)
                    &dwIn, sizeof(dwIn),
                    &dwOut, sizeof(dwOut),
                    &NumberOfBytes, NULL, NULL); 
+
+    /* Turn on UDP CIRCULAR QUEUEING messages */
+    dwIn = 1;
+    rc = WSAIoctl( s, SIO_ENABLE_CIRCULAR_QUEUEING,
+                   &dwIn, sizeof(dwIn),
+                   &dwOut, sizeof(dwOut),
+                   &NumberOfBytes, NULL, NULL);
 }
 
 int