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.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to