Skip to content

Example code to retrieve default outgoing IPv4 or IPv6 address on Linux using only standard Linux API

License

Notifications You must be signed in to change notification settings

pavel-odintsov/get_default_outgoing_ip_linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

Please read my article which provides comprehensive explanation about approach implemented in this repository.

In this repostory you can find source code to retrieve default outgoing IPv4 or IPv6 address on Linux using only standard Linux API.

There are alternative very unreliable ways to accomplish this task. The main point of this repository to provide reliable and very portable approach for this task.

About

Example code to retrieve default outgoing IPv4 or IPv6 address on Linux using only standard Linux API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published