how to count server response time from client ??

Adam C. adam at 757.org
Mon Nov 8 01:06:27 CET 2004


Leon wrote:
> .....in not use NTP(network time protocol) Protocols,do it
> "Leon" <square690410 at yahoo.com.tw> ¼¶¼g©ó¶l¥ó·s»D:cma9fb$kru$1 at netnews.hinet.net...
> 
>>I want to write a web test tool(HTTP Protocols)
>>I use header 'Date' do obtin server response time
>>but client and server time clock is different
>>how to count server and client time clock  interval or discrepancy
>>Can obtin server receive time ????
>>
>>thank everybody...

Psuedocode:

start = GetCurrentLocalTime()
SendRequest()
stop = GetCurrentLocalTime()
RepsonseTime = stop - start

Or are you looking for something different?

--
Adam



More information about the Python-list mailing list