Question about an asynchronous algorithm lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Gustavo 'Gus' Carreno ยท 2021-07-27 14:34 Hey Remy, I'm trying to do a modularized system that communicates via IPC between all the modules. I've got most of the big picture sorted out but there's a step that I'm missing cuz I don't know enough about Indy10's context lists to think about how to do it. So here's the gist of the matter: A client connects to the server and sends a message/command that needs a replyThe server packages that request inside an IPC message(Including an ID for the requester's context) and pushes it to the IPC systemThe IPC system reads that message, relays it to the module that should deal with itThe module does it's work and then packages the result in an IPC message and pushes it to the IPC systemThe IPC system reads that message and relays it to the server module to deal with itAnd this step is where I'm stuck I'm stuck cuz on step 6 cuz I don't know how to use the context ID to now send the answer. Do I get the locked list in it's entirety, loop through it and then send the reply? Is there an indexed property I can use? And how do I do all this in a thread safe manner? How would I go about it? Many, MANY thanks in advance Remy!! Cheers, Gus