mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add support for IPv6
Two new configuration options are added: - "enable_ipv6" to enable/disable the overall use of IPv6 - "ipv6_server" to enable/disable the use of IPv6 sockets when running a server (when "enable_ipv6" is enabled)
This commit is contained in:
parent
309c5f3641
commit
f960c3be31
16 changed files with 475 additions and 209 deletions
|
@ -36,6 +36,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
// Causes the socket class to deliberately drop random packets.
|
||||
// This disables unit testing of socket and connection.
|
||||
#define INTERNET_SIMULATOR 0
|
||||
#define INTERNET_SIMULATOR_PACKET_LOSS 10 // 10 = easy, 4 = hard
|
||||
|
||||
#define CONNECTION_TIMEOUT 30
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue