How do i test for which client sends a message to a server

How do i test for which client sends a message to a server

I am making a 3D game which will have multiple clients connected to it. I am not sure if this is the best way to handle it but i am going to have clients send key inputs to the server and have the server calculate where each player should be. As you can tell, I need to know which client sent me which message in order for it to move the right player. This is where the problem is.

It would be greatly appreciated if someone with good server experience could help me with this.

Sign In or Register to comment.