summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Network.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-03-12 13:35:45 +0100
committerMattes D <github@xoft.cz>2015-03-12 13:35:45 +0100
commitf9991c9f92dac9df5b3ea62e69d46830adf9fa62 (patch)
treeb754ba22c81b4738226b933a2f718bc194bfe0d6 /src/OSSupport/Network.h
parentMerge pull request #1807 from flx5/master (diff)
parentUse std::memcpy to fix alignment (diff)
downloadcuberite-f9991c9f92dac9df5b3ea62e69d46830adf9fa62.tar
cuberite-f9991c9f92dac9df5b3ea62e69d46830adf9fa62.tar.gz
cuberite-f9991c9f92dac9df5b3ea62e69d46830adf9fa62.tar.bz2
cuberite-f9991c9f92dac9df5b3ea62e69d46830adf9fa62.tar.lz
cuberite-f9991c9f92dac9df5b3ea62e69d46830adf9fa62.tar.xz
cuberite-f9991c9f92dac9df5b3ea62e69d46830adf9fa62.tar.zst
cuberite-f9991c9f92dac9df5b3ea62e69d46830adf9fa62.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);
};