From da8c2310b5b2eae941fa1465495409086397127f Mon Sep 17 00:00:00 2001 From: dam Date: Sun, 21 Mar 2021 10:15:30 +0000 Subject: Allow local port control on net_socket connections --- doc/classes/UDPServer.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/classes/UDPServer.xml') diff --git a/doc/classes/UDPServer.xml b/doc/classes/UDPServer.xml index 0fc00f67f8..931aa71332 100644 --- a/doc/classes/UDPServer.xml +++ b/doc/classes/UDPServer.xml @@ -123,6 +123,13 @@ + + + + + Returns the local port this server is listening to. + + -- cgit v1.2.3 From 4d5c8e0b1835be586b2d57d7db0953110d166a14 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Fri, 26 Mar 2021 17:56:08 +0100 Subject: This renames PacketPeerUDP.listen to bind. --- doc/classes/UDPServer.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/classes/UDPServer.xml') diff --git a/doc/classes/UDPServer.xml b/doc/classes/UDPServer.xml index 931aa71332..6f3ccb8a17 100644 --- a/doc/classes/UDPServer.xml +++ b/doc/classes/UDPServer.xml @@ -152,7 +152,7 @@ - Starts the server by opening a UDP socket listening on the given port. You can optionally specify a [code]bind_address[/code] to only listen for packets sent to that address. See also [method PacketPeerUDP.listen]. + Starts the server by opening a UDP socket listening on the given port. You can optionally specify a [code]bind_address[/code] to only listen for packets sent to that address. See also [method PacketPeerUDP.bind]. -- cgit v1.2.3