linux fixes and udp socket updates