The task is to get the connection time to the server, not the request time entirely, namely the connection time, without the data transfer time, waiting for a response, and so on.

It would be nice with the example code) But useful links will go.

  • Well, as an option to synchronize the server and client time, then before calling the method write the current date to the date1 variable, write the current server time to the returned variable on the server in the called method. Then from the date of the server to take away the first date - user2455111
  • Everything would be fine, but the server is not mine) - Alexander Lee
  • Then why do you need it? - user2455111
  • I need to get ping from me to the server through a proxy (Ping with proxies does not work), which means that I need to request any page through a proxy and get the connection waiting time, without commutation and waiting for a response. - Alexander Lee
  • this can help - user2455111

0