Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nightlark authored Sep 13, 2020
1 parent 3d904b4 commit a0d301e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# NetIF
Get a list of network addresses associated with network interfaces on a system without relying on name lookups. Header-only, requires C++14.
Get addresses associated with network interfaces on a system without using name lookups. Header-only, requires C++14.

## Usage

Add the header file to the include path. The main functions for getting interface addresses all return a vector of strings (`std::vector<std::string>`) with the typical human-readable representation of IP addresses (e.g. `127.0.0.1` for IPv4 and `2001:0db8:85a3:0000:0000:8a2e:0370:7334` for IPv6).
Add the header file to the include path for your project. The main functions for getting interface addresses all return a vector of strings (`std::vector<std::string>`) with the typical human-readable representation of IP addresses (e.g. `127.0.0.1` for IPv4 and `2001:0db8:85a3:0000:0000:8a2e:0370:7334` for IPv6).

```cpp
#include "gmlc/netif/NetIF.hpp"
Expand Down

0 comments on commit a0d301e

Please sign in to comment.