☆★UNITY★☆ 4 All
Would you like to react to this message? Create an account in a few clicks or log in to continue.

☆★UNITY★☆ 4 All

☆★UNITY★☆ Guild Site
 
HomeLatest imagesRegisterLog in

 

 Disconnects? Try changing the number of TCP/IP retries [Original post by Redrallyx]

Go down 
AuthorMessage
Choopah
Member
Member
Choopah


Posts : 61
Join date : 2009-06-23
Age : 51
Location : Canada

Disconnects? Try changing the number of TCP/IP retries  [Original post by Redrallyx] Empty
PostSubject: Disconnects? Try changing the number of TCP/IP retries [Original post by Redrallyx]   Disconnects? Try changing the number of TCP/IP retries  [Original post by Redrallyx] Icon_minitimeFri Jul 03, 2009 10:04 pm

[Original post authored by Redrallyx - topic moved from old forum]

Here is another tip from your favorite WF Wink

If you have regular or odd disconnects you might want to increase the number of TCP retries in order to keep the connection alive a bit longer.

The default setting in Windows causes a connection shutdown after about 20 seconds if something goes wrong between your PC and the server you are connected to.
You typically get told that your account is already logged in when you try to login again.
The server is still trying to keep your old connection alive while Windows already gave up.

Personally I have the problem that my ISP is resetting or rebooting the network every night.
My PW session(s) all get a disconnect around 4 AM in the night.
However my ssh connection from my Linux system does not have this problem.

Last week I decided to look a little bit further into this issue and found the current solution.
I increased the number of retries to be equal to the amount used on Linux.
And I did not have a disconnect during the last 2 nights. Smile

The default number of retries on Windows is 5 and on Linux it is 15.
You can change this setting by adding a registry entry and rebooting Windows afterward.

Copy the following code into a text file (notepad) and save it as tcpip_retries.reg
Apply the setting by double-clicking the new file and press the Yes button to add the information from the file to the registry.
After a reboot Windows will use the changed setting.

Code:
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpMaxDataRetransmissions"=dword:0000000f
Back to top Go down
 
Disconnects? Try changing the number of TCP/IP retries [Original post by Redrallyx]
Back to top 
Page 1 of 1
 Similar topics
-
» Full screen window mode with multi client support [Original post by Redrallyx]
» Friendship quest / Hand in Hand [Original post by Redrallyx]
» HOW to buy CUBI !! [original post by sgtice]
» Notes about PK [original post by Froszen]
» Unitypedia [original post by Froszen]

Permissions in this forum:You cannot reply to topics in this forum
☆★UNITY★☆ 4 All :: PW Related :: Tips and Tricks-
Jump to: