Where is the TCP retransmission timeout value and number of retries set in Andriod OS?
Also, if it exists in the configuration file, is it possible to rewrite it?
The location of TCP related settings in Windows and Linux (Posix) is known by the following site.
https://tech-mmmm.blogspot.com/2015/03/ostcp.html
Where is the TCP retransmission timeout value and number of retries set in Andriod OS?
The file is set to the following directory:
/proc/sys/net/ipv4/
Also, if it exists in the configuration file, is it possible to rewrite it?
I think it's possible.
In the case of Android, it seems that the parameter is rewritten with init.rc.c.実際 I didn't actually check it.
I think the settings are as follows.
on init
write/proc/sys/net/ipv4/tcp_syn_retries5
The init.rc grammar is described below.
https://android.googlesource.com/platform/system/core/+/master/init/README.md
I think you need to manipulate the boot image to actually rewrite the kernel parameters of the Android device.
Also, because it affects the entire IP communication, extensive testing is expected, so rewriting kernel parameters is not easy.
578 Understanding How to Configure Google API Key
922 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
623 Uncaught (inpromise) Error on Electron: An object could not be cloned
614 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.