cc -pthread -Wall -Wextra get-so-bindtodevice.c -o get-so-bindtodevice -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt