> 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
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 -
> 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
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