GitHunt
H-

H-HChen/libnm_example

Sample code of Network Manager (libnm) for operating network interface

libnm_example

Introduction

C++ example of libnm(Network Manager) to manipulate internet connection setting.

For API reference please check https://github.com/NetworkManager/NetworkManager.git

Prerequisite

sudo apt install libnm-dev libglib2.0-dev

Build

cd ~
git clone https://github.com/H-HChen/libnm_example.git
cd ~/libnm_example/example
cmake -Bbuild -H.
cmake --build build

Languages

C++96.3%CMake3.7%

Contributors

Created May 4, 2021
Updated July 2, 2025
H-HChen/libnm_example | GitHunt