INFO: ?????? ????? TCP Winsock ??? ??????? ??? ?????????

?????? ????????? ?????? ?????????
???? ???????: 175523 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

?????? ??? ??????? ????? ????? Winsock TCP ??? ????? Microsoft ???????? ??? ??????? ???????? ???? ??????? ??????? ???????? ???? ?? ????? ??? ???? ??????? ?????. ??? ??? ????? ???????? ????? ??????? ?????? ??? ????? ?????? ?????????.

??????? ????

??? ????? ????? ???? ????? TCP ?? ???? Winsock Microsoft ?????? ??????? connect() ??? ?????? ? ??? ???? ???????? TCP ???? ????? ????? ??????? "????? ???????" ???? SYN ?????? ????? ?????? ?????? ????? ?? ACK/SYN ACK ?????? ?? ???? ????? ??????? ????? ??. ??? ???? ?? ??????? ?? ????? ?? RFC 793) "???????? ?????? ????????" (TCP ????? ????? (RST) ?? ??? ????? ??? ??????? ?????? SYN ????? ????? ???? ?????? ??? ?????????. ??? ??? ???? ???? ?????? ????? ?????? RFC ?????? ?? ???? 35:
????? ?????

?????? ???? ??? ?? ??? ????? ????? ????? (RST) ????? ??? ???? ???? ???? ??? ???? ??????? ??????. ??? ?? ?? ??? ????? ????? ????? ??? ??? ??? ????? ?? ??? ?? ??????...

??? ??? ??????? ??? ????? ??? ????? (CLOSED) ?? ????? ????? ??????? ?? ???? ??????? ?? ??? ????? ????? ???. ???? ??? ??? ?????? ???? ???? ?? SYNs ??????? ??? ????? ??? ?????.

????? ????? ?????? [?????? 36]

... ?? ????? SYN ?????? (RST ???? ??????? SYN ????) ? RST ??????? ??? ??? ????? ACK ????? SYN.
??? ??????? ?????? ACK/RST ?? ???? ????? ???? ?????? ???? ??? ???? ??????? ?? ???? ???? ???????? ????. ?? ????? Microsoft Winsock TCP, ????? ????? ???? ???????? ?????? ????? SYN ????? ??? ?? ??? ?????? ??? ???? ???? ????????? (????? ?? ???????, ??? ?????? ?????????? 3 ???? ??????). ??? ?? ?? ???? ACK/RST ?? ?????? ????? ? ???? ???? TCP ?????? ????? ??? ?????? ??????? ? ??? ?? ?????? ????? ?????? ?? ??? IP ?????? ? ??? ?? ???????? ????? ??????? ??????? ?? SYNs ???? ?? ??? ??????? ???????? ????. ????? ?? ???? ???? ??????? ????? ???????? ???? ???? ??????? ???????? ?? ????? ????? ???? SYN ???? ???? ?????. ????? ?? ???? ???? ACK/RST ?? ???? ??? ??????, ??? ????? ???? ?????? ??? ?? ????? ??????? ??? ?? ??? ?????? ??? ???? ?????? ?????????.

?? ???? ??? ?????? ?? ??? ????? ???? ??? ???? ?????? ????? ???? ????? ????????? connect() ????? ???? ?? ???????? ???? ???? ??? WSAECONNREFUSED. ???? ?? ?? ??????? ???? TCP, ??? ??? ????????? ???? ???? ?? ?????? ?? ????? UNIX connect() ??? ????? ??? ???? ???? ACK/RST ????? ??????? ?? ????? ??? ???? ?????. ??? ???? ?? ??? ????? ?? ??????? ??? ?????? ??? ?????? ??? ????? ?? ?????. ????? ??????? ?? ??????? ???????? Microsoft ?? ?? ??????? ?? ?????? ?????? ??? ??? ??????? ????? ??????? TCP ??? ???? ???????? ?????? ??? ???? ????????? 3 ?????? ????????. ?? ???? ??? ?? ???? ?????? ????? ????? ?????? ???? ????? ?????? ??? ? ?? resurface ??? ??????? SYN. ?? ??? ??????? ??? ?????? ?? connect() ?????? ???? ?????? ??? ????? ??? ?????? ????? ????.

????? ??? ????? ????? ?? ??? ??????? TCP NT. ??? ????? ???? ?? ???????:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

???????: TcpMaxConnectRetransmissions
??? ??????: REG_DWORD - ???
???? ????: 0 - 0xFFFFFFFF
?????????: 3 (?? Windows NT)
?????????: 2 (?? Windows 2000)
???: ???? ??? ??????? ??? ?????? ???? ????? TCP ?????? ????? ??? ????? (SYN) ??? ???????? ?????. ?????? ?????? ????? ??????? ?? ?? ????? ??????? ????????? ?? ?????? ????? ???? (???? ??? ?? ?????? ??????? ?????). ???? ?????? ??????? ???? ????? (??? ?? ?? ???? ACK/RST ?? ???? ????? ? ??? ???).
?????? ??? ??????? ?????? ??? ??????? ??????? Windows 95 TCP ???? ??? ??? ??????? ????? ?????? ?? "????? ??????? ?? Microsoft:
158474??????? ??????? ????? ?? Windows 95 TCP/IP
????? ?????? ??? ????? ????:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VxD\MSTCP

???????: MaxConnectRetries
??? ??????: DWORD - ??? 32 ??
?????????: 3
???: ????? ??? ?????? ???? ??? ??? ????? ????? ?????? ????? (SYN) ??? ??????. ???? ????? ??????? ?????? 3 ???? (??? ?? ???? ?????) ???? ?????? ?? ????? (?????? ????? ???????) ??? ???? ?? ???????.
????? ????? ???? ????????? ??? ??? ??? ??????? ???.

?????: ??????? ??? ????? ???? ??? ???? TCP ??????? ????? ??????? ?? ????????? ????????. ??? ??? ??? ???? ??????? TCP ??? ????????? ?????? ????? ? ??????? ????? ??? ????? round-trip ????? ??? ??? ?????? ??? ??? (??? ????? ?? ?? Microsoft ?? ???? ???) ??? ?????? ??. ??? ???? ?? ???? ??? ????????? ?? ??????? ??????? ??????? ?? ???? ??? Winsock ???????? ???? ???????? ??????? ????? ???? ??? ??????? ?? ??????? ??????? ??? ?? ?????. ??? ??? ????? ????? ?? ???? ??? ??? ????????? ?????? ???? ????? TCP ????? ?????? SYN ????? ?????? ?????? ?? ??? IP ?? ????? ????????? ????????? ??? ????? ??? ?????? ???? ?????? ?????? ?????? ??? ?????? ????? ACK/SYN. ???????

?????

RFC-793 ? ???????? ?????? ???????? 1981 ??????

Whitepaper ? Microsoft Windows NT: ?????? ??????? TCP/IP, 1996 ??????? ??????? 158474

???????

???? ???????: 175523 - ????? ??? ??????: 30/????/1427 - ??????: 3.1
????? ???
  • Microsoft Win32 ????? ????? ???????, ????? ?????? ??:
    • the operating system: Microsoft Windows 2000
    • Microsoft Windows NT 4.0
    • Microsoft Windows NT 3.51 Service Pack 5
    • Microsoft Windows NT 4.0
    • Microsoft Windows 98 Standard Edition
    • Microsoft Windows 95
????? ??????: 
kbmt kbapi kbinfo kbnetwork kbwinsock KB175523 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????175523

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

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com