setTimeOut function for UDP?

The duration of 1ms is not really an issue anymore. I discovered that the Particle Photon supports threads, so network communication can be done in the "background" of my time critical code.

Just for people who are interested you can read more in this topic: