Author Topic: Network transfer gets aborted  (Read 4245 times)

Offline kkretzsch

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 217
Network transfer gets aborted
« on: 2015 September 02 14:52:35 »
Hi,
I am experimenting with the C++ NetworkTransfer API to get some data from the Simbad database. The download always gets aborted. The docu says that a transfer can get aborted by an event handler. I am running at least two Timer threads in the background so I am wondering how I can avoid those aborts.

Thanks
Klaus

Offline kkretzsch

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 217
Re: Network transfer gets aborted
« Reply #1 on: 2015 September 03 10:54:58 »
Problem solved. I registered a void method as download_event_handler, but it has to be a function returning a bool.

Klaus