A simple way to get the your machine IPv4 address in C/C++, using the standard network libraries.
-
Updated
Feb 9, 2021 - C++
A simple way to get the your machine IPv4 address in C/C++, using the standard network libraries.
Get the exact IP address of your Linux OS with a simple shell command
Add a description, image, and links to the machine-ip topic page so that developers can more easily learn about it.
To associate your repository with the machine-ip topic, visit your repo's landing page and select "manage topics."