ReactPHP - Timing the length of time it took to send a UDP packet?

102 Views Asked by At

I'm currently using the ReactPHP Event Loop and ReactPHP Datagram (which can be found here: https://github.com/reactphp/datagram).

At the moment, I'm using the Datagram client to connect to a UDP server and send packets to it every ~20ms, however, I need to time how long it takes to send a packet. Is this possible with ReactPHP?

0

There are 0 best solutions below