how to count server response time from client ??

Leon square690410 at yahoo.com.tw
Sun Nov 7 20:57:07 EST 2004


Client send--> network --> Server --> Server Process --> Server Response --> 
network --> Client receive
                                           |------------------------------------------------|
|----------------------------|           Server process response time
    packet arrive server time 
|---------------------------|
                                                                             
                                            packet arrive client time
So I want get server time clock different from client.

"Adam C." <adam at 757.org> ???????:mKyjd.3084$FE.1224 at lakeread06...
> 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