Re: Connection time TransmitFile

From: Tiago Halm (thalm_at_nospam.hotmail.com)
Date: 10/06/04


Date: Wed, 6 Oct 2004 20:37:14 +0100

Ronald,

When TransmitFile ends, your callback function is notified. When the
connection ends, the SF_NOTIFY_END_OF_REQUEST and (if the TCP/IP connection
is terminated) the SF_NOTIFY_END_OF_NET_SESSION notifications are called.
This assumes that you've built an ISAPI Filter & ISAPI Extension on the same
DLL (the above notifications are ISAPI Filter specific)

Could you elaborate more on your concept of "connection time"?

Tiago

"ronald kats" <stimpy_joy@hotmail.com> wrote in message
news:eefd5b7a.0410060028.61ffc77b@posting.google.com...
> Hello,
>
> I'm not sure where to post this question so I posted it in two groups.
> I've searched the discussion groups thoroughly for an answer on this
> question but haven't found a satisfactory answer.
>
> We're using an ISAPI dll to handle requests from mobile phones in a
> WAP session and deliver content to the phone when needed. To send the
> content we use a asynchronous call to TransmitFile. We would like to
> know the connection time of the client for our stats and to see if
> there's a relation between clients failing to pick up the content and
> this connection time. We already store the time the request comes in
> however how can we tell when the TransmitFile ends and the connection
> ends? I believe this is not really trivial or maybe even impossible?
> What ways are there to estimate the connection time?
>
> Many thanks in advance.
>
> Best regards,
>
> Ronald



Relevant Pages

  • Re: Connectivity States (Wireless, Ethernet, & USB)
    ... point-to-point message queues and NDISUIO notifications. ... if an adapter has reestablished connection or lost it, ... information by itself to decide what the connection state is. ... there's also a new Sample of using the status monitor. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: COM connection timeout issue
    ... Process A implements Connection point sink and listens to the event ... Process B sends notifications to Process B on a timed basis. ... If we close the Modal dialog, the control returns back to Process A. If ... until the timeout time and then stops. ...
    (microsoft.public.win32.programmer.ole)
  • COM connection timeout issue
    ... object and a Connection Point Container. ... Process B sends notifications to Process B on a timed basis. ... If we close the Modal dialog, the control returns back to Process A. If ... until the timeout time and then stops. ...
    (microsoft.public.win32.programmer.ole)
  • Re: EnumProtocols() does not work on Windows Vista and Windows
    ... I'm curious how you made the connection between this ... API and Exchange's notifications? ... not work - API fails and Exchange does not send UDP packets as expected. ...
    (microsoft.public.win32.programmer.networks)
  • Re: poor performance on first query
    ... > I've got an ASP site querying an Access database to get photo gallery ... If it's the connection time that's the problem, ... This email account is my spam trap so I ...
    (microsoft.public.inetserver.asp.db)