hhromic / libe131

libE131: a lightweight C/C++ library for the E1.31 (sACN) protocol
Apache License 2.0
76 stars 19 forks source link

Code uses gethostbyname() which is deprecated #11

Closed lgbaldoni closed 1 year ago

lgbaldoni commented 4 years ago

Packaging libe131 for openSUSE linux and this warning comes out:

The binary calls gethostbyname(). Please port the code to use getaddrinfo().

Here's a better explanation on why.

hhromic commented 1 year ago

Apologies for the really late reply and thanks for bringing this up. I now made a basic implementation in e8199d6.