From b574e476ec59c9cc0eee8ccf8e3093df62d79acd Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Tue, 7 May 2019 10:17:00 +0200 Subject: Implement IP.get_local_interfaces. Allow getting interfaces names and assigned names. On UWP this is not supported, and the function will return one interface for each local address (with interface name the local address itself). --- doc/classes/IP.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc') diff --git a/doc/classes/IP.xml b/doc/classes/IP.xml index 3616a9ec50..65b1700333 100644 --- a/doc/classes/IP.xml +++ b/doc/classes/IP.xml @@ -34,6 +34,22 @@ Returns all of the user's current IPv4 and IPv6 addresses as an array. + + + + + Returns all network adapters as an array. + Each adapter is a dictionary of the form: + [codeblock] + { + "index": "1", # Interface index. + "name": "eth0", # Interface name. + "friendly": "Ethernet One", # A friendly name (might be empty). + "addresses": ["192.168.1.101"], # An array of IP addresses associated to this interface. + } + [/codeblock] + + -- cgit v1.2.3 From e5e3f866484709f47c97151e99a302206df1d894 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Thu, 20 Jun 2019 11:36:32 +0200 Subject: Multicast support in NetSocket/PacketPeerUDP --- doc/classes/PacketPeerUDP.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'doc') diff --git a/doc/classes/PacketPeerUDP.xml b/doc/classes/PacketPeerUDP.xml index 9843c16108..376818fb86 100644 --- a/doc/classes/PacketPeerUDP.xml +++ b/doc/classes/PacketPeerUDP.xml @@ -37,6 +37,29 @@ Returns whether this [PacketPeerUDP] is listening. + + + + + + + + + Join the multicast group specified by [code]multicast_address[/code] using the interface identified by [code]interface_name[/code]. + You can join the same multicast group with multiple interfaces. Use [method IP.get_local_interfaces] to know which are available. + + + + + + + + + + + Remove the interface identified by [code]interface_name[/code] from the multicast group specified by [code]multicast_address[/code]. + + -- cgit v1.2.3