Depends what you want to measure. Using the event you selected, you don't measure time needed to establish the connection, send the request, send the header. You only have the document part. That's fine if it is what you need :-) -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be
----- Original Message ----- From: "Paul" <[EMAIL PROTECTED]> To: "TWsocket" <twsocket@elists.org> Sent: Monday, March 19, 2007 11:12 AM Subject: [twsocket] Connection speed test > I have to implement a connection speed test in an application (using http) > I've ben testing with downloading and uplading a small file a few times. > So far I've had the best results with > - Download: > start timing in HttpCli.onDocBegin > stop timing in HttpCli.onDocEnd > - Upload: > start timing in HttpCli.onSendBegin > stop timing in HttpCli.onSendEnd > > I'm not sure if this is the correct though .. > > Paul > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be