How to compute round-trip time to webser# Java - 爪哇娇娃
g*n
1 楼
I am simulating a webserver using Java. I am using Internet Explorer as a
client connecting, say http://localhost:8080 and then a webpage pop up.
Now it is required to compute round-trip time from the client to the server
and back to the client. For example, the client can send a 100-byte package to
the server and the server returns the package to the client, then it is
considered the RTT.
Now my question is, how do I do it since I am using a web browser as the
client?
Any suggestions?
Thanks!!!
client connecting, say http://localhost:8080 and then a webpage pop up.
Now it is required to compute round-trip time from the client to the server
and back to the client. For example, the client can send a 100-byte package to
the server and the server returns the package to the client, then it is
considered the RTT.
Now my question is, how do I do it since I am using a web browser as the
client?
Any suggestions?
Thanks!!!