Re: time out when net problem

From: Pablo (portiz_at_hal.famaf.unc.edu.ar)
Date: 01/24/04

  • Next message: J French: "Re: Reading XML Via Delphi 6 App?"
    Date: 24 Jan 2004 11:44:19 -0800
    
    

    "Maarten Wiltink" <maarten@kittensandcats.net> wrote in message news:<40124cb1$0$316$e4fe514c@news.xs4all.nl>...
    > "Pablo" <portiz@hal.famaf.unc.edu.ar> wrote in message
    > news:164aea8d.0401231356.226a33f3@posting.google.com...
    >
    > > Hi, I have a program that uses an idSNTP client to get the current
    > > time, but sometimes the unternet connection goes down and the program
    > > cant get the time and halts. How can my program stop the sntp client
    > > to restore the program control with a personal error message? thanks.
    >
    > What exactly do you mean by "restore the program control"?

    If I run my program in a PC without an Internet connection, the
    program halts and I cant do anything with ut but to press Ctrl+Alt+Del
    and close it; I mean, no button responds, I cant close it with the X
    button, it does nothing, it stops working. So I want to be able to set
    the program to stop any attempt to connect after some time and to tell
    what happend or to go on like nothing happend. I hope you can help me.
    Thanks.

    > Closing another Windows application is a well-known and solved
    > problem; feeding the right words into Google will give you the
    > solution.
    >
    > Technically, SNTP defines a one-shot operation: to ask for a
    > timestamp. Reacting to it, adjusting the local system's time,
    > need not even be within the purview of the client component.
    > The program using the component may be the source of the
    > undesired behaviour of "halting" (another case of "what exactly
    > do you mean by that?").
    >
    > Groetjes,
    > Maarten Wiltink


  • Next message: J French: "Re: Reading XML Via Delphi 6 App?"