Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 514 Bytes

File metadata and controls

14 lines (10 loc) · 514 Bytes

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.