Copyright (C) 2016-2023, L-Acoustics
LA_networkInterfaceHelper is a lightweight open source library for enumerating Network Interfaces and monitoring any state change.
This library are written in pure C++17. It can be compiled on Windows, Linux and macOS, using standard development tools (procedure below). The library can target the following platforms: Windows, Linux, macOS and iOS.
Unit tests and sample programs are also provided, and a SWIG interface file is proposed for easy integration with other languages.
We use GitHub issues for tracking requests and bugs.
This software is licensed under the BSD 3-clause License (see LICENSE).
- CMake 3.22
- Windows 10
- Visual Studio 2019 v16.3 or greater (using platform toolset v142)
- GitBash or cygwin
- macOS 10.12
- Xcode 12
- C++17 compliant compiler (minimum recommended g++ 11.2.0)
- Make
- Google's C++ test framework to build unit tests
- Clone this repository
- Update submodules: git submodule update --init
- Using the provided bash script (gen_cmake.sh):
- Run the script with whatever optional parameters required (run gen_cmake.sh -h to display the help)
- Go into the generated output folder
- Open the generated Visual Studio solution LA_networkInterfaceHelper.sln
- Compile everything from Visual Studio
- Manually issuing a CMake command:
- Run a proper CMake command to generate a Visual Studio solution (or any other CMake generator matching your build toolchain)
- Open the generated Visual Studio solution (or your other CMake generated files)
- Compile everything from Visual Studio (or compile using your toolchain)
- Using the provided bash script (gen_cmake.sh):
- Run the script with whatever optional parameters required (run gen_cmake.sh -h to display the help)
- Go into the generated output folder
- Open the generated Xcode solution LA_networkInterfaceHelper.xcodeproj
- Compile everything from Xcode
- Use the -ios command switch when invoking gen_cmake.sh if you want to target the iOS platform
- Manually issuing a CMake command:
- Run a proper CMake command to generate a Xcode solution (or any other CMake generator matching your build toolchain)
- Open the generated Xcode solution (or your other CMake generated files)
- Compile everything from Xcode (or compile using your toolchain)
- Using the provided bash script (gen_cmake.sh):
- Run the script with either -debug or -release and whatever optional parameters required (run gen_cmake.sh -h to display the help)
- Go into the generated output folder
- Run make to compile everything
- Manually issuing a CMake command:
- Run a proper CMake command to generate Unix Makefiles (or any other CMake generator matching your build toolchain)
- Go into the folder where the Unix Makefiles have been generated
- Run make to compile everything (or compile using your toolchain)
All product names, logos, brands and trademarks are property of their respective owners. All company, product and service names used in this library are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.