python tcp server sending data to multiple clients
问题 i am having trouble trying to send data to all clients connected on my python tcp chat server. i know how to get the message/data to send right back to the person who sent it but it just won't send back if i have multiple clients. this is my server so far: host = '127.0.0.1' port = 4446 backlog = 5 size = 1024 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind( (host, port) ) s.listen(backlog) clients = [s] while 1: inputReady, outputReady, exceptReady = select.select(clients, [], [