summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Network.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-02-22 10:51:16 +0100
committerMattes D <github@xoft.cz>2015-02-22 10:51:16 +0100
commitc758482ece08e7b393e343464bf9a2c2d74bf34f (patch)
tree0aa3dc3c9ce3715215f3b14cbe80c188a7047891 /src/OSSupport/Network.h
parentDoor handler: Removed needless check. (diff)
downloadcuberite-c758482ece08e7b393e343464bf9a2c2d74bf34f.tar
cuberite-c758482ece08e7b393e343464bf9a2c2d74bf34f.tar.gz
cuberite-c758482ece08e7b393e343464bf9a2c2d74bf34f.tar.bz2
cuberite-c758482ece08e7b393e343464bf9a2c2d74bf34f.tar.lz
cuberite-c758482ece08e7b393e343464bf9a2c2d74bf34f.tar.xz
cuberite-c758482ece08e7b393e343464bf9a2c2d74bf34f.tar.zst
cuberite-c758482ece08e7b393e343464bf9a2c2d74bf34f.zip
Diffstat (limited to 'src/OSSupport/Network.h')
-rw-r--r--src/OSSupport/Network.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/OSSupport/Network.h b/src/OSSupport/Network.h
index 5dd596223..95a935bbe 100644
--- a/src/OSSupport/Network.h
+++ b/src/OSSupport/Network.h
@@ -318,6 +318,9 @@ public:
If a_Port is 0, the OS is free to assign any port number it likes to the endpoint.
Returns the endpoint object that can be interacted with. */
static cUDPEndpointPtr CreateUDPEndpoint(UInt16 a_Port, cUDPEndpoint::cCallbacks & a_Callbacks);
+
+ /** Returns all local IP addresses for network interfaces currently available. */
+ static AStringVector EnumLocalIPAddresses(void);
};