mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-28 03:45:24 +01: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user