buffersize

  1. E

    Windows 10 Why is there a +1 or -1 on a buffer or cast?

    I cannot figure out why +1 or -1 is added to a cast or a buffer such as, firmwareRequest = (PFIRMWARE_REQUEST_BLOCK)(srbControl + 1); as listed on the MSDN page: https://docs.microsoft.com/en-us/windows-hardware/drivers/storage/upgrading-firmware-for-an-nvme-device I searched google and could...
  2. S

    Windows 7 Modify the default value of socket buffer sizes

    In the socket programming, SO_SNDBUF and SO_RCVBUF will have the default value as the 8192 bytes when the size of RAM is greater than 19MB. Now, I want to change the socket buffer sizes for my sockets SO_SNDBUF, SO_RCVBUF. I know that one way is by setsockopt. But, I want to apply changes to...
Back
Top