On Thursday, August 11, 2016 at 11:36:47 AM UTC+5:30, dieter wrote: > Anil reddy reddy M <anilreddy...@gmail.com> writes: > > > I was written a simple tcp server in python, which is nicely communicating > > with multiple tcp clients. My Tcp Server can accept multiple clients at > > time, each client as a new thread. I want send message to specific tcp > > client after some time. > > I can client Address from connction, addr = socket.accept(), but i am not > > able send msg to client with client IP.POrT. I would be thankfull for any > > help i get > > TCP channels are bidirectional: you can send messages in both > directions. Thus, writing to the server's socket (for a specific client) > sends the written data to the client.
Hi, Thanks for your reply, But how can i find client socketfd when i want send message to specific client.I can store connected client ip, port in database. how can use that ip, port when i want send. Sincerely Anil, -- https://mail.python.org/mailman/listinfo/python-list