I have already created my own VOIP server and client using pure sockets. All clients can send voice data to the server and server receives the audio data fine and plays it in real time; but what if the client wants to communicate to a specific client? How do I do that?
Edit: For example client A connects to C (which is the server) and client B connects to C. How can A send data to B with or without sending data to C?
P.S.I can show my code if it is needed. Or if I am not being specific just tell me and I will elaborate more on my question.
Aconnects toCBconnects toCAasksCifBis availableCchecks that he can communicate with BAsend data toCby saying it’s forBCtransfers data toBAtries later to asksCifBis available