How Raw sockets behave differently in macOS and Linux