Hi @BhabaniMohapatra
This won't work since you are opening a single socket and then entering inside a while True loop that only exits when a client disconnects. What you need, is to parallelize the sockets over two threads, so both can be connected at the same time.
Thanks,
Jaka