Todd Martin wrote on Friday, 20 June 2003 10:10 a.m.:
> I'm thinking about writing a TCP/IP server app to receive streamed
> files and then process them on the server machine with another app
> and return a results file. The problem is, files can come in from
> multiple clients at random time intervals (natrually) and I want to
> be able to queue them up, so they get processed sequentially by my
> other app.
Perhaps just have a queue internally, with one thread listening for
connections and adding to the queue and another thread reading and
removing items from the front of the queue and executing them (waiting
for each one to complete before moving on to the next). You'd need to
synchronise access to the queue, of course.
Cheers,
Paul
---------------------------------------------------------------------------
New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe offtopic"
Web Archive at: http://www.mail-archive.com/offtopic%40delphi.org.nz/