Closed matmunn closed 6 years ago
In net_stat.cc
, line 468, socket()
function fails with error 43: Protocol not supported
.
I noticed that the SOCK_CLOEXEC
flag causes socket() to fail. This could mean that the code as it is now (-works on Linux and most likely on FreeBSD-) is invalid for macOS or that macOS has a bug.
Deleting the flag makes the problem disappear, but I am going to investigate further to see if this is the optimal solution.
You can pull the latest commit and recompile, it should now work.
You're a legend, thanks so much
You are welcome!!!
Using the
if_up
variable results in conky dying with the error "could not create sockfd"