This is my first question, so sorry if the form is wrong!
I am trying to make a lean server (python) and a client (C ++). However, I need to exchange messages in both directions. The client must register (call the server function and wait), and the server must listen on the same port for N (N-> 100k) incoming connections (clients). After fulfilling some conditions, the server needs to call functions on each client, collect the results and interpret them.
I’m a little confused, and the first questions are: “Can this be done in the Traft? The second question is related to a mechanism that will allow me bidirectional communication. I think I will need two services. One with client functions, the other with the server. But I'm confused by the call code I understand one-way communication (calling functions from the server), but I have a problem with calling functions from the client side.
Any suggestions???
Thank!
source
share