This is my pboject:

suppose that I have some different application A, B, C....
A is the main programm, run and listening in a specific port.

B connect to A. I want than A can be able to communicate with B and receive some information about B. Then I want that I can be able to create another channel of communication (a new socket that work in another port that A tell to B).

But at the same time I want that A can be able to receive other request of connections for example from C o D.

What do you think about this architecture? Is correct use some different thread to the registration step e one different thread to communicate??

Bye, Thanks