For my multiplayer code, I am trying to make a python script that the server will run; and then blender clients connect to that server. But I guess I am still a little confused with socket programming. In each blender client I have a server socket to recieve commands and a client socket to send commands. In the server, I have one serversocket that is supposed to keep track of all the clients that are connected, and when it recieves a command, to send that command to the other clients.
Is this unnecesary? Can the client sockets in the blender clients both send and recieve messages? If this is true, how do I know if they are sending or recieving.
I am very confused