> The reason I was > thinking of a multi-threaded client is that I want to isolate > this module with the main form.
No need to have multithread for that. Just put your TWSocket into a TDataModule. It's enough. You can evn create them dynamicall in a pure .pas unit. fyi: Message handlers can be put everywhere, it doesn't matter. -- [EMAIL PROTECTED] http://www.overbyte.be ----- Original Message ----- From: "Jack" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Tuesday, May 17, 2005 10:09 PM Subject: [twsocket] Threaded client? > Hello Francois and all, > > I saw a thread server sample in ICS package but did not > see any sample for threaded client. I understand that with > ICS I don't have to do multi-threading. The reason I was > thinking of a multi-threaded client is that I want to isolate > this module with the main form. The module is supposed to > create multiple sockets to test a group of servers. I suppose > this can be achieved with an array of wsocket objects in a > single-threaded application but the socket will have to have > something to do with the main form? For example, parent-ed by > the main form, or the message handlers defined in the main form. > (I could be wrong.) That's why I'm thinking of using a separate > group of threads to do the server check. I wonder if there are > samples for the client. > > -- > Best regards, > Jack > > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be