diff options
author | Mattes D <github@xoft.cz> | 2015-03-12 13:35:45 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-03-12 13:35:45 +0100 |
commit | f9991c9f92dac9df5b3ea62e69d46830adf9fa62 (patch) | |
tree | b754ba22c81b4738226b933a2f718bc194bfe0d6 /src/OSSupport/Network.h | |
parent | Merge pull request #1807 from flx5/master (diff) | |
parent | Use std::memcpy to fix alignment (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/OSSupport/Network.h | 3 |
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); }; |