c/c++ network multi socket example
I am looking for an example for socket programming in c/c++. 
About:

 - multisocket (several server sockets)
 - for each socket one protocol

Something like:
One socket handles the commands that were sent from client, and depends of the commands this socket can start/influent (set some parameter)/stop other sockets. And sockets except of "command-socket" should be something like stream sockets, that just sends the data to the client. Data could be some files/videos/sound/images.

I would like to see the structure/organisation of such program.

Thank you.
c/c++ network multi socket example
===

I am looking for an example for socket programming in c/c++. 
About:

 - multisocket (several server sockets)
 - for each socket one protocol

Something like:
One socket handles the commands that were sent from client, and depends of the commands this socket can start/influent (set some parameter)/stop other sockets. And sockets except of "command-socket" should be something like stream sockets, that just sends the data to the client. Data could be some files/videos/sound/images.

I would like to see the structure/organisation of such program.

Thank you.