Mos

Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas network tsis muaj

Sim Peb Cov Twj Rau Kev Tshem Tawm Cov Teeb Meem





Tshaj tawm rauHloov tshiab kawg: Lub Ob Hlis 17, 2021

Yog tias koj tab tom ntsib cov lus yuam kev saum toj no, qhov yuam kev no yog qhov laj thawj tseem ceeb vim tias Windows Sockets cov ntawv sau npe tau ua txhaum. Windows Sockets (Winsock) yog qhov programming interface uas tswj cov kev thov nkag thiab tawm hauv lub network ntawm Windows. Koj yuav tsis ncaj qha pom cov lus yuam kev no kom txog thaum koj khiav lub network teeb meem, thiab koj yuav tsis tuaj yeem nkag mus rau hauv is taws nem vim qhov yuam kev no:



Ib lossis ntau lub network raws tu qauv ploj lawm hauv lub computer no Windows Sockets cov ntawv sau npe yuav tsum muaj rau kev sib txuas hauv network tsis ploj.

Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas hauv network tsis muaj qhov yuam kev



Qhov laj thawj tseem ceeb los khiav lub network teeb meem yog tias koj tsis tuaj yeem tau online lossis nkag tsis tau hauv internet. Yog tias qhov kev thov hauv lub network tsis ua tiav, ces lub network yuav tsis ua haujlwm tag nrho. Txawm li cas los xij, yam tsis tau nkim sij hawm cia peb saib Yuav Ua Li Cas Txhim Kho Windows sockets cov npe nkag uas xav tau rau kev sib txuas hauv network tau ploj lawm nrog kev pab los ntawm cov lus qhia daws teeb meem hauv qab no.

Cov ntsiab lus[ zais ]



Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas network tsis muaj

Nco ntsoov tsim ib qho chaw rov qab los tsuas yog thaum muaj ib yam dab tsi mus tsis ncaj ncees lawm.

Txoj Kev 1: Pib dua Winsock Cheebtsam

1. Qhib Command Prompt. Tus neeg siv tuaj yeem ua cov kauj ruam no los ntawm kev tshawb nrhiav 'cmd' thiab ces nias Enter.



Qhib Command Prompt. Tus neeg siv tuaj yeem ua cov kauj ruam no los ntawm kev tshawb nrhiav 'cmd' thiab tom qab ntawd nias Enter.

2. Tam sim no ntaus cov lus txib hauv qab no thiab nias Enter tom qab txhua tus:

ipconfig / tso tawm
ipconfig /flushdns
ipconfig /renew

ipconfig nqis | Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas network tsis muaj

3. Ib zaug ntxiv, qhib Admin Command Prompt thiab ntaus cov hauv qab no thiab ntaus nkag tom qab txhua tus:

ipconfig /flushdns
nbtstat -r
netsh int ip pib dua
netsh winsock pib dua

rov pib dua koj TCP / IP thiab yaug koj DNS.

4. Reboot siv cov kev hloov pauv. Flushing DNS zoo li Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas hauv network tsis muaj qhov yuam kev.

Txoj Kev 2: Khiav Network Troubleshooter

1. Nias Windows Key + I kom qhib Chaw ces nyem rau Hloov tshiab & Kev Ruaj Ntseg.

Nias Windows Key + I kom qhib Chaw ces nyem rau ntawm Hloov tshiab & kev ruaj ntseg icon

2. Los ntawm cov ntawv qhia zaub mov sab laug, xaiv Teeb meem.

3. Nyob rau hauv Troubleshoot, nyem rau ntawm Kev sib txuas hauv Is Taws Nem thiab ces nias Khiav tus troubleshooter.

Nyem rau ntawm Internet Kev Txuas thiab tom qab ntawd nyem Khiav qhov teeb meem

4. Ua raws li cov lus qhia ntawm lub vijtsam ntxiv txhawm rau khiav qhov kev daws teeb meem.

5. Reboot koj lub PC kom txuag tau cov kev hloov pauv.

Txoj Kev 3: Rho tawm Winsock Registry Nkag Thiab Rov Qab TCP / IP

1. Nias Windows Key + R ces ntaus regedit thiab ntaus Enter kom qhib Registry Editor.

Khiav cov lus txib regedit

2. Coj mus rau qhov Registry Key nram qab no:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWinSock2

3. Txoj cai-nias rau ntawm WinSock 2 ces xaiv Export . Xauj mus rau qhov chaw nyab xeeb thiab tom qab ntawd nyem Txuag.

Right-click rau WinSock2 ces xaiv Export | Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas network tsis muaj

Nco tseg: Koj tau ua ib qho thaub qab ntawm WinSock sau npe yuam sij, tsuas yog nyob rau hauv rooj plaub muaj qee yam yuam kev.

4. dua right-click rau WinSock2 tus yuam sij rau npe thiab xaiv Rho tawm.

Right-click rau WinSock2 ces xaiv Delete

5. Tam sim no mus rau cov npe nkag hauv qab no:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWinsock

6. Ib zaug ntxiv ua cov kauj ruam 3 txog 4 ntawm Winsock sau npe yuam sij.

7. Nias Windows Key + R ces ntaus nco.cpl thiab ntaus Enter kom qhib Kev Sib Txuas Network.

ncpa.cpl qhib wifi chaw

8. Right-click rau koj Local Area Connection lossis Ethernet kev twb kev txuas thiab xaiv Cov khoom.

Txoj cai-nias ntawm qhov kev sib txuas hauv lub network (WiFi) thiab xaiv Properties

9. Nyob rau hauv lub qhov rais Properties, nyem rau ntawm lub Nruab khawm.

Xaiv cov khoom ib los ntawm ib qho hauv qab

10. Ces nyob rau Xaiv Network Feature Hom qhov rais xaiv raws tu qauv thiab nias Ntxiv.

Nyob ntawm

11. Tam sim no nyem rau ntawm Muaj Disk… ntawm Xaiv Network Protocol window.

Nyem rau Have Disk ntawm Xaiv Network Protocol Window

12. On Install From Disk window, ntaus cov hauv qab no rau hauv Luam cov chaw tsim khoom cov ntaub ntawv los ntawm teb thiab ntaus Enter:

C:Windowsinf

Hauv Copy manufacturers

13. Thaum kawg, ntawm qhov Xaiv Network Protocol qhov rai, xaiv Internet Protocol (TCP/IP) – Tunnels thiab nias OK.

Xaiv Internet raws tu qauv (TCP IP) – Tunnels thiab nias OK | Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas network tsis muaj

14. Kaw txhua yam thiab reboot koj lub PC kom txuag tau cov kev hloov.

Yog tias koj tau txais cov lus yuam kev hauv qab no thaum sim cov kauj ruam saum toj no:

Tsis tuaj yeem ntxiv cov yam ntxwv thov. Qhov yuam kev yog: Qhov kev pab cuam no raug thaiv los ntawm pab pawg txoj cai. Yog xav paub ntxiv, hu rau koj tus thawj tswj hwm qhov system.

Txhim kho Tsis tuaj yeem ntxiv qhov kev thov

1. Download Windows Socket registry entries thiab ces import lawv rau hauv koj Registry Editor:

Download WinSock Registry File
Download WinSock2 Registry File

2. Txoj cai-nias rau saum toj sau npe yuam sij ces xaiv Khiav raws li Administrator.

3. Nyem Yog lawm mus txuas ntxiv thiab ces reboot koj lub PC.

Nyem Yog mus txuas ntxiv thiab tom qab ntawd rov pib dua koj lub PC

4. Tam sim no ua raws li cov kauj ruam saum toj no ib zaug ntxiv kom pom tias koj tuaj yeem kho tau Windows sockets sau npe nkag uas xav tau rau kev sib txuas hauv network tsis ploj yuam kev.

Txoj Kev 4: Siv Google DNS

Koj tuaj yeem siv Google's DNS es tsis yog lub neej ntawd DNS teeb tsa los ntawm koj lub Chaw Pabcuam Hauv Is Taws Nem lossis lub chaw tsim khoom siv network adapter. Qhov no yuav xyuas kom meej tias DNS koj tus browser siv tsis muaj dab tsi ua rau YouTube video tsis thauj khoom. Ua li ntawd,

ib. Right-click ntawm network (LAN) icon nyob rau hauv txoj cai kawg ntawm lub Taskbar , thiab nias rau Qhib Network & Internet Chaw.

Txoj nyem rau ntawm Wi-Fi lossis Ethernet icon ces xaiv Qhib Network & Internet Chaw

2. Hauv chaw app uas qhib, nyem rau Hloov cov kev xaiv adapter nyob rau hauv txoj cai pane.

Nyem Hloov cov kev xaiv adapter

3. Right-click nyob rau hauv lub network koj xav configure, thiab nias rau Cov khoom.

Right-click rau koj Network Txuas thiab tom qab ntawd nyem rau ntawm Properties

4. Nyem rau Internet Protocol Version 4 (IPv4) nyob rau hauv daim ntawv thiab ces nias rau Cov khoom.

Xaiv Internet Protocol Version 4 (TCPIPv4) thiab rov nyem rau ntawm pob khoom

Kuj Nyeem: Txhim kho koj DNS Server tej zaum yuav tsis muaj qhov yuam kev

5. Nyob rau hauv General tab, xaiv ' Siv cov chaw nyob DNS server hauv qab no ' thiab muab cov chaw nyob DNS nram qab no.

Nyiam DNS Server: 8.8.8.8
Hloov DNS Server: 8.8.4.4

siv cov chaw nyob DNS server hauv qab no hauv IPv4 chaw | Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas network tsis muaj

6. Thaum kawg, nyem OK nyob rau hauv qab ntawm lub qhov rais kom txuag kev hloov.

7. Reboot koj lub PC thiab thaum lub kaw lus rov pib dua, saib seb koj puas tuaj yeem ua tau Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas hauv network tsis muaj qhov yuam kev.

Txoj Kev 5: Disable IPv6

1. Txoj cai-nias rau ntawm WiFi icon ntawm lub system tais thiab ces nias rau Qhib Network thiab Sharing Center.

Txoj nyem rau ntawm WiFi icon ntawm qhov system tais thiab tom qab ntawd nyem rau ntawm txoj cai nyem rau ntawm WiFi icon ntawm qhov system tais thiab tom qab ntawd nyem rau ntawm Qhib Network & Internet nqis

2. Tam sim no nyem rau ntawm koj qhov txuas tam sim no qhib Chaw.

Nco tseg: Yog tias koj tsis tuaj yeem txuas rau koj lub network, ces siv Ethernet cable los txuas thiab ua raws li cov kauj ruam no.

3. Nyem qhov Cov khoom khawm nyob rau hauv lub qhov rais uas nyuam qhuav qhib.

wifi kev twb kev txuas cov khoom

4. Nco ntsoov uncheck Internet Protocol Version 6 (TCP/IP).

uncheck Internet Protocol Version 6 (TCP IPv6) | Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas network tsis muaj

5. Nyem OK, ces nyem Kaw. Reboot koj lub PC kom txuag tau cov kev hloov pauv.

Txoj Kev 6: Disable Proxy

1. Nias Windows Key + R ces ntaus ib.cpl thiab ntaus nkag mus qhib Cov cuab yeej hauv Internet.

inetcpl.cpl los qhib cov khoom hauv internet

2. Tom ntej no, Mus rau Kev sib txuas tab thiab xaiv Kev teeb tsa LAN.

Lan chaw hauv internet thaj chaw qhov rais

3. Uncheck Siv Proxy Server rau koj LAN thiab xyuas kom meej Automatically ntes cov chaw raug kuaj.

Uncheck Siv Proxy Server rau koj LAN

4. Nyem Ok Tom qab ntawd thov thiab reboot koj lub PC.

Txoj Kev 7: Reinstall Network Adapter Drivers

1. Nias Windows Key + R ces ntaus devmgmt.msc thiab ntaus Enter.

devmgmt.msc tus thawj tswj ntaus ntawv | Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas network tsis muaj

2. Nthuav Network adapters ces right-click rau koj WiFi adapter thiab xaiv Uninstall.

uninstall network adapter

3. Ib zaug nias Uninstall kom paub meej.

4. Tam sim no txoj cai-nias rau Network Adapters thiab xaiv Tshawb nrhiav kev hloov kho kho vajtse.

Right-click rau Network Adapters thiab xaiv Scan rau kho vajtse hloov

5. Reboot koj lub PC thiab lub qhov rais yuav cia li nruab lub neej ntawd tsav.

Txoj Kev 8: Pib dua koj lub router

Yog tias koj lub router tsis raug teeb tsa kom raug, koj yuav tsis tuaj yeem nkag mus hauv internet txawm tias koj txuas nrog WiFi. Koj yuav tsum nias lub Refresh/Reset khawm ntawm koj lub router, lossis koj tuaj yeem qhib qhov chaw ntawm koj lub router nrhiav qhov kev xaiv rov pib dua hauv kev teeb tsa.

1. Tua koj lub WiFi router lossis modem, tom qab ntawd tshem lub hwj chim los ntawm nws.

2. Tos li 10-20 vib nas this thiab rov txuas lub hwj chim cable rau lub router.

Rov pib koj lub router WiFi lossis modem

3. Hloov ntawm lub router thiab rov sim txuas koj lub cuab yeej .

Txoj Kev 9: Disable ces Re-enable your Network Adapter

1. Nias Windows Key + R ces ntaus nco.cpl thiab ntaus Enter.

ncpa.cpl qhib wifi chaw

2. Right-click rau koj wireless adapter thiab xaiv Disable.

Right-click rau koj lub wireless adapter thiab xaiv Disable

3. Ib zaug ntxiv right-click rau tib lub adapter thiab lub sij hawm no xaiv Pab.

Txoj cai-nias ntawm tib lub adapter thiab lub sijhawm no xaiv Qhib | Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas network tsis muaj

4. Pib dua koj thiab rov sim txuas rau koj lub wireless network.

Pom zoo:

Qhov ntawd yog nws, koj ua tiav Txhim kho Windows sockets sau npe nkag uas xav tau rau kev sib txuas hauv network tsis muaj qhov yuam kev tab sis yog tias koj tseem muaj lus nug txog qhov kev qhia no ces xav nug lawv hauv cov lus ntu lus.

Aditya Farrad

Aditya yog tus kws tshaj lij cov ntaub ntawv thev naus laus zis uas txhawb nqa tus kheej thiab tau ua tus kws sau ntawv thev naus laus zis rau 7 xyoo dhau los. Nws npog cov kev pabcuam hauv Internet, mobile, Windows, software, thiab How-to guides.