???? ??? ?????? ??? ??? ???????? ??? ???? TCP ???????? ?????? ????? ????? ??????? ???? ????? Windows

???? ???????: 823764 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ????? ??? ????? ???? ?????? ????? ????? ??????? ???? ????? Windows? ?? ????? ??? ?????? ??? ??? ???????? ??? ???? TCP.

??? ??? ?????? ????? ???? ???? ????? ?? ????? ???? ????? ??? Microsoft Network Monitor? ???? ?????? TCP ??? ??? ????? TCP ACK ???? TCP ?? ??? ?????? TCP ?? ??? ??? ????? ???? (???? ???? ?????? ACK ????). ???? ???????? ?????? ????? Windows? ???? ???? ??? ????? 200 ???? ????? (ms). ???? ?????? ??????? ?????? 64 ???? ???? ?? ???????? ??????? ??????? ??????:
Client->Server 1460 bytes
Client->Server 1460 bytes
Server->Client ACK
Client->Server 1460 bytes
Client->Server 1460 bytes
Server->Client ACK
....
Client->Server 1460 bytes
Client->Server 1460 bytes
Server->Client ACK-PUSH
Client->Server 1296 bytes
-> delayed ACK 200 ms


?????

???? ??? ??????? ???? ???? ????????? ????? ????? ??????? ???? ????? Windows ? Afd.sys. ???? ??? ??????? ??? ????? ???? ?????? ???????:
  • ?????? ???????? ???? ????? Windows ???? ????? ??? ????.
  • ????? ????? ??????? ?? ??????? ??????? ????? ?????? ?????? ????? ???? ??????? ??????? ???.

    ??? ???? ??????? ?????? ???????? ???? ????? Windows setsockopt ???? ?????? ???? ??????? ????????? ????? ?????? ?????? ??? 32 ???? ???? ????? ???? ??????? ?????? ?? ????? ?????:
    setsockopt( sock, SOL_SOCKET, 32768, (char *) &val, sizeof( int ) );
    ??????? ????? ???? ???????? ?????? ????????? ???? ?????? ????? ??????? ?? ??????? ????? 64 ???? ???? ?? ???????? ????? ?? ?????? ??????:
    send(socket, pWrBuffer, 65536, 0);
    ?? ??? ?????????? ?? ??? ?????? ??????? ????? ??????? ?? 64 ???? ???? ?? ????????? ?????? ?????? SOCKET_ERROR ??? ????? ??? ??? ??? ????? ?????? ?????? 32 ???????? ???? ??????? ??????? ?????. ??? ??? ???????? ?????????????? ????? ????? ???????? ???????????? ??? ?????. ?????? ???? ????? Windows Sockets ??? ???? ?????? ?? ???? ???? ???????. ?? ??? ?????????? ??? ?? ???? ???? ???? ??????? ????? ??????? ??? ????? ?????? ???? TCP ACK ???????. ???? ??????? ?? ???? Windows? ?? ?????? ??? ????? 200 ms ???? ???????? ????? ????.
  • ?????? ?????? TCP ???? ???? ??? TCP ??? ?? ???? ?????? ?????? ???? TCP ?????? ?? ????? ???? ?????.

???? ??????

?????? ??? ??? ???????? ?????? ?? ?? ????? ???????.

??????? 1: ??????? ???? ??????? ????

???? ??? ??????? ??? ?? ???? ????? ??? ????. ??? ??????? ???? ????? ???? ?? ???? ??? ??????? ??? ?????? Afd.sys ?????? ?????? ???? ????? ?????. ????? ?? ????????? ??? ???? ????? ??? ???? ???? ???????? ???? ????? Microsoft Platform SDK.

??????? 2: ????? ??? ?????? ?????? ????? ???? ????? ???? ?? ??? ?????? ?????? ????? ????????

?????? ?????? ?????? ????? ???? ??????? ???????? ?????? getsockopt ???? ????? Windows ?????? ?????? ???? ????? ????? ??? ?????? ?????? (SO_SNDBUF) ?? ?????? setsockopt ????? ???? ?????? ???? ??????? ??? ?????? ??????. ????? ????? ?? ???? ??? ?? ???? ???? SO_SNDBUF ???? ???? ??? ????? ???? ?? ??? ?????? ?????? ????? ????????.

????? ??????? ????? ?? ??????? WSASend ????? ???? ??? ???? ?? ?????? SO_SNDBUF ??? ????? 1 ????. ?? ?????? ?????? ?? ??? "?????" ?? ??? ???????? ????? ????? ??????? setsockopt ?????? ????????
setsockopt( sock, SOL_SOCKET, 65537, (char *) &val, sizeof( int ) );
?? ????? ????? ??????? ????? ?????? ???????:
send(socket, pWrBuffer, 32767, 0);
????? ???? ??????? ?? ?????? ?? ??? ?????.

??????? ???????: ????? ??????? TCP/IP ??? ?????? TCP

??? ??? ?????? ?? ????? ?? ???? ????? ??? ??????? ???? ???? ????? ????? ???????. ??? ???? ?? ???? ?????? ????? ??? ??? ?????? ????? ???? ??? ????. ????? ???? ?? ????? ??? ??????? ??????. ??????? ????????? ?? ???? ???? ???????? ?? ????? ??? ??????. ??? ???? ????? ??????? ????? ?? ???? ???? ?????. ????? ?? ????????? ??? ????? ??? ???? ???????? ?? ????? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ? Microsoft":
322756 ????? ??? ???? ???????? ?? ????? ????????? ?? ???? ??????? Windows


????? ??????? TCP/IP ??? ?????? TCP ?????? ??? TCP ??????? ????. ???? ??? ???? ???? ???? ?? ???? ???? ????? ??? ????? ???? ????? ?????? ???? ?? ????? ????? ???? ????????. ??????? ??????????? ??? ??? ????? ???? TCP ?????? ??? ???? ????? ??? Windows? ??? ????? ??????? ?????? ??????. ?????? ??????? ??????? ???? ????? ???? ??????? ?????? ??? ??????? ??? ????? ????? ???? ??? ????? ????? ????.

??? ???? ???? ?????? Windows 2000? ???? ??????? ???????:
  1. ??? ????? ???? ??????? (Regedit.exe).
  2. ??? ???? ?? ?? ???? ??? ????? ??????? ?????? ??????:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\<Interface GUID>
  3. ??? ????? ???????? ???? ??? ????? ????? ?? ?? ?????? ???? ??????? ???????:

    ??? ??????: ????????????
    ??? ????????: REG_DWORD
    ?????? ??????: 0
  4. ?? ?????? "???? ???????".
  5. ????? ????? Windows ???? ??????? ???? ???????.
??? ???? ???? ?????? ???? ??????? Windows XP ?? Windows Server 2003? ???? ??????? ???????:
  1. ??? ????? "???? ???????".
  2. ??? ???? ?? ?? ???? ??? ????? ??????? ?????? ??????:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\<Interface GUID>
  3. ??? ????? ? ??? ??? ????? ?? ???? ??? ???? DWORD.
  4. ??? ?????? ??????? ??????????????? ?????? ???? 1.
  5. ?? ?????? "???? ???????".
  6. ????? ????? Windows ???? ??????? ???? ???????.

??????? 4: ????? ???? ??????? ?????? ?? Afd.sys ???? ????? ??? ????

??? ??? ?????? ?? ????? ?? ???? ????? ??? ??????? ???? ???? ????? ????? ???????. ??? ???? ?? ???? ?????? ????? ??? ??? ?????? ????? ???? ??? ????. ????? ???? ?? ????? ??? ??????? ??????. ??????? ????????? ?? ???? ???? ???????? ?? ????? ??? ??????. ??? ???? ????? ??????? ????? ?? ???? ???? ?????. ????? ?? ????????? ??? ????? ??? ???? ???????? ?? ????? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ? Microsoft":
322756 ????? ??? ???? ???????? ?? ????? ????????? ?? ???? ??????? Windows


?????? ????? ????? ??????? ??? ??? ?? Windows Server 2003 ?????? ????? ?????? service Pack 1 ???? ??????? ???????.
  1. ???? ??? ??? ?????? ??? regedit.exe? ?? ???? ??? ?????.
  2. ??? ???? ?? ?? ???? ??? ????? ??????? ?????? ??????:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters
  3. ??? ????? ? ??? ??? ????? ?? ???? ??? ???? DWORD.
  4. ??? ?????? ??????? ?????????????????????????????? ?????? ???? 1.
  5. ????? "???? ???????".
  6. ????? ????? Windows ???? ??????? ???? ???????.

?????

???? Microsoft ?? ??? ?? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???".

?????

328890 ????? ????? ?????? ?????? ?? ???? TCP ????? (ACK) ?? ???? ??????? Windows XP ? Windows Server 2003

???????

???? ???????: 823764 - ????? ??? ??????: 23/???? ??????/1434 - ??????: 1.0
????? ???
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Server
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
  • Windows Web Server 2008
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2012 Datacenter
  • Windows Server 2012 Standard
  • Windows 8 Enterprise
  • Windows 8 Pro
  • Windows 7 Professional
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
????? ??????: 
kbprb kbmt KB823764 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????823764

????? ???????