eoip
eoip copied to clipboard
do select()/poll() to check if tap_fd is ready on BSD/Darwin
since on BSD/Darwin's tap file descriptor return I/O Error when tap is down.