First of all, you dont need threads if you wants to have multiple
connections. All go in main thread also. Could be that you need a thread
or many, but certainly not for this reason.
If the encryption of the data is a lenghty operation then it can maybe
in your database class. This class is probably slow (not by you code but
because of large database), so it can probably run threaded.
Monday, March 28, 2005, 16:28, Andy Law wrote:
> I'm looking to build a server application that will receive data from
> multiple clients.
> Each client thread will send it's data encypted and compressed, the
> server will process this and the post the information to a Firebird
> I've been playing around with the ThrdSrv example, and created an
> db connection class that I use to talk to the database using IBOjects.
> Would someone point me in the right direction as to where would be
> the best place to decompress/decrypt the data and then instantiate the
> db connection.
> many thanks
> Andy Law
> 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