Re: [twsocket] HttpAppServer Finish question

2011-01-30 Thread Busai Péter
Thanks. I send answer and call Finish in OnTerminate event. AFAIK that runs in main thread context. Peter 2011.01.30. 15:51 keltezéssel, Francois PIETTE írta: You have to call Finish in the contrext of the thread running UrlHandler.Execute, not your worker thread. It is not important that it

Re: [twsocket] Error handling

2011-01-30 Thread daniel cc
Hello, Thanks for the response. Sorry for delay. Do we have any demos where -- OnBgException is handled? I simply can't find any, in the server or the client demos. I have tryed to set Can Close and put the error into the memo with no success. All I need is to avoid the error pop-up and put the

Re: [twsocket] Error handling

2011-01-30 Thread Francois PIETTE
Daniel, You have not answered my question: What is the exception/error which is generated ? One we know which error/exception is killing you, we'll probably be able to give a better idea. OnBgException handle background exceptions, that is exceptions triggered in the message pump and not

Re: [twsocket] Error handling

2011-01-30 Thread daniel cc
Sorry Francois, I tought I had it in the previous mail. Here it is, There camed up a little pop-up saying Socket error 10052 This camed up when I pulled the network cable off (testing in windows xp professional). However, I have just tested again with this and the error is gone but I still