How to install Jumbo Packet and Receive / Transmit Buffers for advanced network adapter properties in Windows?

I am trying to set some additional properties for a network adapter, for example. Jumbo Packet, Receive / Transmit Buffers. I tried with Win32_NetworkAdapter, Win32_NetworkConnection, Win32_NetworkAdapterConfiguration WMI classes. None of them can do this.

Can anybody help me?

+6
source share
2 answers

Jumbo Packet support simply means a large MTU (typically 9000 bytes). Perhaps the SetMTU method of the Win32_NetworkAdapterConfiguration or SetIFEntry () class (see the dwMtu section).

The size of the transmit and receive buffers is set at the socket level, regardless of the network interface. Find the setsockopt () interface with the parameters SO_RCVBUF and SO_SNDBUF .

+1
source
0
source

Source: https://habr.com/ru/post/907933/


All Articles