Re: [twsocket] TWSocketServer in depdicated thread

2014-09-11 Thread Angus Robertson - Magenta Systems Ltd
> However the question is: why events > are not raised in case of moving TWSocketServer out of main > application thread? Because you need a message handler in the thread. There are lots of samples that show how to use threads. Angus -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] TWSocketServer in depdicated thread

2014-09-10 Thread не важно фиг знает
I'm looking into it right now. However the question is: why events are not raised in case of moving TWSocketServer out of main application thread? This code is working if TWSocketServer child of TForm, but not if its a child of TThread Wed, 10 Sep 2014 19:16 +0100 (BST) от "Angus Robertson -

Re: [twsocket] TWSocketServer in depdicated thread

2014-09-10 Thread Angus Robertson - Magenta Systems Ltd
> I'm trying to make TWSocketServer pworking in a separate thread Why not start with TWSocketThrdServer? Look at the sample OverbyteIcsThrdSrvV3.dpr which uses it. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/li

[twsocket] TWSocketServer in depdicated thread

2014-09-10 Thread не важно фиг знает
Hello. I'm trying to make TWSocketServer pworking in a separate thread to make sure it will not interfere with main application thread i would like to use onli for GUI so Code sample is below unit ServerThread; interface uses   Classes, SysUtils, OverbyteIcsWSocket, OverbyteIcsWSocketS, Share