1
General discussions / idea needed
« on: April 18, 2015, 10:20:32 am »
Hello !
I need to do a server, but ideas are not comming ...
The server must accept new connections and pair clients 2 by 2.
After the server understands that those 2 clients must be paired, server accept package from one client and send to the other one.
Let's say that client1 connects to my server and client2 connects to my server.
They all send a string so my server could recognise them.Based on that string, my server knows that if client1 sends a pack, then the server must send that pack to client2, and if client2 sends a pack, then it must be send to client1.
Anyone have some ideas on how to build this thing ?
Thank you !
I need to do a server, but ideas are not comming ...
The server must accept new connections and pair clients 2 by 2.
After the server understands that those 2 clients must be paired, server accept package from one client and send to the other one.
Let's say that client1 connects to my server and client2 connects to my server.
They all send a string so my server could recognise them.Based on that string, my server knows that if client1 sends a pack, then the server must send that pack to client2, and if client2 sends a pack, then it must be send to client1.
Anyone have some ideas on how to build this thing ?
Thank you !
