|
-
Jun 1st, 2011, 06:15 AM
#1
Thread Starter
Hyperactive Member
Advise, Queue ?
Hello,
I have make api that using winsock control split job's for clients and make some calculation's.
When 1st client from LAN complete calculation it send's back message to server that calculation is complete and server sends STOP info to all other client's to stop calculation for same job.
That is not problem and evrything works fine, but my problem is,
how to add more job's to queue and afther client sent message that job is done, how to send new job from server to clients ?
If I store all job's in txt file, evry line will be command, but I'm not sure how
to select new line each time when new calculation need to start?
example of command line in queue
Calc-1122121238533212-218731287381236278537951297351276231
Calc-2321312128913213-127839172836865213138287821738217381
Calc-2151512512535124-652896579361864367672564561526561253
and so on...
I will receive afther calculation that 1122121238533212 job is done, maybe I can load txt file, find that string in line and erase whole line, but
how to select first next line afther that ?
Or is there any other way, maybe better ?
B.R
Last edited by VB Client/Server; Jun 1st, 2011 at 06:19 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|