NetTalk Central

Author Topic: WebClient timeout  (Read 2448 times)

de la Rosa

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Email
WebClient timeout
« on: October 17, 2013, 10:06:47 PM »
Hi,

How can I properly handle in NetWebClient when the Network goes or is down when a request was sent? Now my application hangs with a white screen at the moment.

Thanks,
Vic

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: WebClient timeout
« Reply #1 on: October 17, 2013, 10:33:34 PM »
Hi Vic,

By default all NetTalk comms is Asynchronous, mean it never blocks your procedure, but you can in embed code for the Open to be Synchronous, and that may give the effect you describe. Changing to Asynchronous would sort it out (but may involve some slight adjustment to your code.)

If you post an example I can be more specific.

cheers
Bruce