mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +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
|
@ -548,8 +548,8 @@ struct ConnectionCommand
|
|||
class Connection: public SimpleThread
|
||||
{
|
||||
public:
|
||||
Connection(u32 protocol_id, u32 max_packet_size, float timeout);
|
||||
Connection(u32 protocol_id, u32 max_packet_size, float timeout,
|
||||
Connection(u32 protocol_id, u32 max_packet_size, float timeout, bool ipv6);
|
||||
Connection(u32 protocol_id, u32 max_packet_size, float timeout, bool ipv6,
|
||||
PeerHandler *peerhandler);
|
||||
~Connection();
|
||||
void * Thread();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue