Skip to content

A wrapper library to replace the libc getaddrinfo() function with a version that doesn't return IPv6 addresses.

License

Notifications You must be signed in to change notification settings

mkbloke/libwrapper-getaddrinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libwrapper-getaddrinfo

A wrapper library to replace the libc getaddrinfo() function with a version that doesn't return IPv6 addresses.

Usage

To use this wrapper with an application, start the application, such as streamlink by specifiying the path to the wrapper shared object file in the LD_PRELOAD environment variable. For example:

LD_PRELOAD="/home/user/libwrapper-getaddrinfo/libwrapper-getaddrinfo.so" streamlink tvplayer.com/watch/tvpone best

Installation

See BUILD.md.

About

A wrapper library to replace the libc getaddrinfo() function with a version that doesn't return IPv6 addresses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published