How to send a UDP datagram through PHP and process this request on the other side via c ++?
No problem. Use the appropriate functions for working with packages.
In PHP, this is:
For C / C ++, see the answer to a similar question here.