[crrcsim] fix udp sending compatibility with OSX