Remove sleep when broadcasting UDP packet and use select() timeout instead.
Remove fd_set for write