So whether we decide to turn network errors into
errno or keep using
net_errno, the code logging network errors won't need to change.
bind() errors early which both simplifies the code and make the log order more logical on Linux.
v2: poll sets
errno on all error pathes on Windows, so don't use
net_errno to report poll errors.
VideoLAN code repository instance